com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class AuthenticationStatement

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.StatementAbstractType
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
          extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthenticationStatementType
              extended by 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
protected static Logger log
           
 
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
protected AuthenticationStatement()
          Default constructor
  AuthenticationStatement(AuthenticationStatementType authStmtType)
           
  AuthenticationStatement(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding)
          Constructor for authentication statement
 
Method Summary
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.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 object
subjectLocality - (optional) A SubjectLocality object.
authorityBinding - (optional) A List of AuthorityBinding objects.
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: AuthenticationStatement
Gets the value of the authenticationInstant property.

Specified by:
getAuthenticationInstantDate in interface AuthenticationStatement
Returns:
object is Date

getAuthenticationMethod

public String getAuthenticationMethod()
Description copied from class: AuthenticationStatementType
Gets the value of the authenticationMethod property.

Specified by:
getAuthenticationMethod in interface AuthenticationStatement
Overrides:
getAuthenticationMethod in class AuthenticationStatementType
Returns:
possible object is String

getAuthorityBindingList

public List<AuthorityBinding> getAuthorityBindingList()
Description copied from interface: AuthenticationStatement
Gets the value of the authorityBinding property. Objects of the following type(s) are in the list AuthorityBinding

Specified by:
getAuthorityBindingList in interface AuthenticationStatement

getSubjectLocalityIPAddress

public String getSubjectLocalityIPAddress()
Description copied from interface: AuthenticationStatement
Gets the value of the ipAddress property.

Specified by:
getSubjectLocalityIPAddress in interface AuthenticationStatement
Returns:
object is String

getSubjectLocalityDNSAddress

public String getSubjectLocalityDNSAddress()
Description copied from interface: AuthenticationStatement
Gets the value of the dnsAddress property.

Specified by:
getSubjectLocalityDNSAddress in interface AuthenticationStatement
Returns:
object is String

getSubject

public Subject getSubject()
Description copied from class: SubjectStatementAbstractType
Gets the value of the subject property.

Specified by:
getSubject in interface AuthenticationStatement
Overrides:
getSubject in class SubjectStatementAbstractType
Returns:
possible object is SubjectType


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.