public class AuthenticationStatement extends AuthenticationStatementType implements AuthenticationStatement
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.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
authenticationInstant, authenticationMethod, authorityBinding, subjectLocalitysubject| Modifier | Constructor and Description |
|---|---|
protected |
AuthenticationStatement()
Default constructor
|
|
AuthenticationStatement(AuthenticationStatementType authStmtType) |
|
AuthenticationStatement(String authMethod,
GregorianCalendar authInstant,
Subject subject,
SubjectLocality subjectLocality,
List authorityBinding)
Constructor for authentication statement
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationStatementType |
fromElement(Element element)
This constructor builds an authentication statement element from an
existing XML block.
|
Date |
getAuthenticationInstantDate()
Gets the value of the authenticationInstant property.
|
String |
getAuthenticationMethod()
Gets the value of the authenticationMethod property.
|
List<AuthorityBinding> |
getAuthorityBindingList()
Gets the value of the authorityBinding property.
|
Subject |
getSubject()
Gets the value of the subject property.
|
String |
getSubjectLocalityDNSAddress()
Gets the value of the dnsAddress property.
|
String |
getSubjectLocalityIPAddress()
Gets the value of the ipAddress property.
|
getAuthenticationInstant, getAuthorityBinding, getSubjectLocality, setAuthenticationInstant, setAuthenticationMethod, setSubjectLocalitysetSubjectprotected static final Logger log
protected AuthenticationStatement()
public AuthenticationStatement(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding)
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) A SubjectLocality object.authorityBinding - (optional) A List of AuthorityBinding
objects.SAMLException - if there is an error in the sender.public AuthenticationStatement(AuthenticationStatementType authStmtType)
public static AuthenticationStatementType fromElement(Element element) throws SAMLException
element - representing a DOM tree element.SAMLException - if there is an error in the sender or in the
element definition.public Date getAuthenticationInstantDate()
AuthenticationStatementgetAuthenticationInstantDate in interface AuthenticationStatementDatepublic String getAuthenticationMethod()
AuthenticationStatementTypegetAuthenticationMethod in interface AuthenticationStatementgetAuthenticationMethod in class AuthenticationStatementTypeStringpublic List<AuthorityBinding> getAuthorityBindingList()
AuthenticationStatementAuthorityBindinggetAuthorityBindingList in interface AuthenticationStatementpublic String getSubjectLocalityIPAddress()
AuthenticationStatementgetSubjectLocalityIPAddress in interface AuthenticationStatementStringpublic String getSubjectLocalityDNSAddress()
AuthenticationStatementgetSubjectLocalityDNSAddress in interface AuthenticationStatementStringpublic Subject getSubject()
SubjectStatementAbstractTypegetSubject in interface AuthenticationStatementgetSubject in class SubjectStatementAbstractTypeSubjectTypeCopyright © 2005–2018 Oracle Corporation. All rights reserved.