Class AuthenticationStatement
java.lang.Object
com.sun.xml.wss.saml.internal.saml11.jaxb20.StatementAbstractType
com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthenticationStatementType
com.sun.xml.wss.saml.assertion.saml11.jaxb20.AuthenticationStatement
- All Implemented Interfaces:
AuthenticationStatement
public class AuthenticationStatement
extends AuthenticationStatementType
implements AuthenticationStatement
The
AuthenticationStatement
element supplies a
statement by the issuer that its subject was authenticated by a
particular means at a particular time. The
AuthenticationStatement
element is of type
AuthenticationStatementType
, which extends the
SubjectStatementAbstractType
with the additional element and
attributes.-
Field Summary
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthenticationStatementType
authenticationInstant, authenticationMethod, authorityBinding, subjectLocality
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
subject
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructorAuthenticationStatement
(AuthenticationStatementType authStmtType) AuthenticationStatement
(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding) Constructor for authentication statement -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationStatementType
fromElement
(Element element) This constructor builds an authentication statement element from an existing XML block.Gets the value of the authenticationInstant property.Gets the value of the authenticationMethod property.Gets the value of the authorityBinding property.Gets the value of the subject property.Gets the value of the dnsAddress property.Gets the value of the ipAddress property.Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthenticationStatementType
getAuthenticationInstant, getAuthorityBinding, getSubjectLocality, setAuthenticationInstant, setAuthenticationMethod, setSubjectLocality
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
setSubject
-
Field Details
-
log
-
-
Constructor Details
-
AuthenticationStatement
protected AuthenticationStatement()Default constructor -
AuthenticationStatement
public AuthenticationStatement(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding) Constructor for authentication statement- Parameters:
authMethod
- (optional) A String specifies the type of authentication that took place.authInstant
- (optional) A GregorianCalendar specifies the time at which the authentication that took place.subject
- (required) A Subject objectsubjectLocality
- (optional) ASubjectLocality
object.authorityBinding
- (optional) A List ofAuthorityBinding
objects.
-
AuthenticationStatement
-
-
Method Details
-
fromElement
This constructor builds an authentication statement element from an existing XML block.- Parameters:
element
- representing a DOM tree element.- Throws:
SAMLException
- if there is an error in the sender or in the element definition.
-
getAuthenticationInstantDate
Description copied from interface:AuthenticationStatement
Gets the value of the authenticationInstant property.- Specified by:
getAuthenticationInstantDate
in interfaceAuthenticationStatement
- Returns:
- object is
Date
-
getAuthenticationMethod
Description copied from class:AuthenticationStatementType
Gets the value of the authenticationMethod property.- Specified by:
getAuthenticationMethod
in interfaceAuthenticationStatement
- Overrides:
getAuthenticationMethod
in classAuthenticationStatementType
- Returns:
- possible object is
String
-
getAuthorityBindingList
Description copied from interface:AuthenticationStatement
Gets the value of the authorityBinding property. Objects of the following type(s) are in the listAuthorityBinding
- Specified by:
getAuthorityBindingList
in interfaceAuthenticationStatement
-
getSubjectLocalityIPAddress
Description copied from interface:AuthenticationStatement
Gets the value of the ipAddress property.- Specified by:
getSubjectLocalityIPAddress
in interfaceAuthenticationStatement
- Returns:
- object is
String
-
getSubjectLocalityDNSAddress
Description copied from interface:AuthenticationStatement
Gets the value of the dnsAddress property.- Specified by:
getSubjectLocalityDNSAddress
in interfaceAuthenticationStatement
- Returns:
- object is
String
-
getSubject
Description copied from class:SubjectStatementAbstractType
Gets the value of the subject property.- Specified by:
getSubject
in interfaceAuthenticationStatement
- Overrides:
getSubject
in classSubjectStatementAbstractType
- Returns:
- possible object is
SubjectType
-