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

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
          extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl
              extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl
                  extended by com.sun.xml.wss.saml.assertion.saml11.jaxb10.AuthenticationStatement
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatement, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable, com.sun.xml.wss.saml.internal.saml11.jaxb10.StatementAbstractType, com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType, Element

public class AuthenticationStatement
extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl
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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl
com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl.Unmarshaller
 
Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl
version
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl
_AuthenticationInstant, _AuthenticationMethod, _AuthorityBinding, _SubjectLocality
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
_Subject
 
Constructor Summary
protected AuthenticationStatement()
          Default constructor
  AuthenticationStatement(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType authStmtType)
           
  AuthenticationStatement(String authMethod, Calendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding)
          Constructor for authentication statement
 
Method Summary
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl 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.jaxb10.impl.AuthenticationStatementImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl
_getAuthorityBinding, getAuthenticationInstant, getAuthorityBinding, getSubjectLocality, setAuthenticationInstant, setAuthenticationMethod, setSubjectLocality
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
setSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType
getAuthenticationInstant, getAuthorityBinding, getSubjectLocality, setAuthenticationInstant, setAuthenticationMethod, setSubjectLocality
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType
setSubject
 

Field Detail

log

protected static final Logger log
Constructor Detail

AuthenticationStatement

protected AuthenticationStatement()
Default constructor


AuthenticationStatement

public AuthenticationStatement(String authMethod,
                               Calendar 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 String 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(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType authStmtType)
Method Detail

fromElement

public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl 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.

Returns:
object is Date

getAuthenticationMethod

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

Specified by:
getAuthenticationMethod in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType
Overrides:
getAuthenticationMethod in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl
Returns:
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


getSubjectLocalityIPAddress

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

Returns:
object is String

getSubjectLocalityDNSAddress

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

Returns:
object is String

getSubject

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

Specified by:
getSubject in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType
Overrides:
getSubject in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
Returns:
object is String


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