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
TheAuthenticationStatementelement supplies a statement by the issuer that its subject was authenticated by a particular means at a particular time. TheAuthenticationStatementelement is of typeAuthenticationStatementType, which extends theSubjectStatementAbstractTypewith the additional element and attributes.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
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
Constructors Modifier Constructor Description protectedAuthenticationStatement()Default constructorAuthenticationStatement(AuthenticationStatementType authStmtType)AuthenticationStatement(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding)Constructor for authentication statement
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationStatementTypefromElement(Element element)This constructor builds an authentication statement element from an existing XML block.DategetAuthenticationInstantDate()Gets the value of the authenticationInstant property.StringgetAuthenticationMethod()Gets the value of the authenticationMethod property.List<AuthorityBinding>getAuthorityBindingList()Gets the value of the authorityBinding property.SubjectgetSubject()Gets the value of the subject property.StringgetSubjectLocalityDNSAddress()Gets the value of the dnsAddress property.StringgetSubjectLocalityIPAddress()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 Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
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) ASubjectLocalityobject.authorityBinding- (optional) A List ofAuthorityBindingobjects.- Throws:
SAMLException- if there is an error in the sender.
-
AuthenticationStatement
public AuthenticationStatement(AuthenticationStatementType authStmtType)
-
-
Method Detail
-
fromElement
public static AuthenticationStatementType fromElement(Element element) throws SAMLException
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
public Date getAuthenticationInstantDate()
Description copied from interface:AuthenticationStatementGets the value of the authenticationInstant property.- Specified by:
getAuthenticationInstantDatein interfaceAuthenticationStatement- Returns:
- object is
Date
-
getAuthenticationMethod
public String getAuthenticationMethod()
Description copied from class:AuthenticationStatementTypeGets the value of the authenticationMethod property.- Specified by:
getAuthenticationMethodin interfaceAuthenticationStatement- Overrides:
getAuthenticationMethodin classAuthenticationStatementType- Returns:
- possible object is
String
-
getAuthorityBindingList
public List<AuthorityBinding> getAuthorityBindingList()
Description copied from interface:AuthenticationStatementGets the value of the authorityBinding property. Objects of the following type(s) are in the listAuthorityBinding- Specified by:
getAuthorityBindingListin interfaceAuthenticationStatement
-
getSubjectLocalityIPAddress
public String getSubjectLocalityIPAddress()
Description copied from interface:AuthenticationStatementGets the value of the ipAddress property.- Specified by:
getSubjectLocalityIPAddressin interfaceAuthenticationStatement- Returns:
- object is
String
-
getSubjectLocalityDNSAddress
public String getSubjectLocalityDNSAddress()
Description copied from interface:AuthenticationStatementGets the value of the dnsAddress property.- Specified by:
getSubjectLocalityDNSAddressin interfaceAuthenticationStatement- Returns:
- object is
String
-
getSubject
public Subject getSubject()
Description copied from class:SubjectStatementAbstractTypeGets the value of the subject property.- Specified by:
getSubjectin interfaceAuthenticationStatement- Overrides:
getSubjectin classSubjectStatementAbstractType- Returns:
- possible object is
SubjectType
-
-