Class AuthnStatement
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.StatementAbstractType
com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnStatementType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.AuthnStatement
- All Implemented Interfaces:
AuthnStatement
The
AuthnStatement element supplies a
statement by the issuer that its subject was authenticated by a
particular means at a particular time. The
AuthnStatement element is of type
AuthnStatementType, which extends the
SubjectStatementAbstractType with the additional element and
attributes.-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnStatementType
authnContext, authnInstant, sessionIndex, sessionNotOnOrAfter, subjectLocality -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructorAuthnStatement(AuthnStatementType authStmtType) AuthnStatement(GregorianCalendar authInstant, SubjectLocality subjectLocality, AuthnContext authnContext, String sessionIndex, GregorianCalendar sessionNotOnOrAfter) Constructor for authentication statement -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthnStatementTypefromElement(Element element) This constructor builds an authentication statement element from an existing XML block.Gets the value of the AuthnContext's AuthenticatingAuthority property.Gets the value of the AuthnContext's AuthnContextClassRef property.Gets the value of the authnInstant property.Gets the value of the sessionIndex property.Gets the value of the sessionNotOnOrAfter property.Gets the value of the SubjectLocality address property.Gets the value of the SubjectLocality dnsName property.Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnStatementType
getAuthnContext, getAuthnInstant, getSessionNotOnOrAfter, getSubjectLocality, setAuthnContext, setAuthnInstant, setSessionIndex, setSessionNotOnOrAfter, setSubjectLocality
-
Field Details
-
log
-
-
Constructor Details
-
AuthnStatement
protected AuthnStatement()Default constructor -
AuthnStatement
public AuthnStatement(GregorianCalendar authInstant, SubjectLocality subjectLocality, AuthnContext authnContext, String sessionIndex, GregorianCalendar sessionNotOnOrAfter) Constructor for authentication statement- Parameters:
authInstant- A GregorianCalendar specifies the time at which the authentication that took place.subjectLocality- ASubjectLocalityobject.
-
AuthnStatement
-
-
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.
-
getAuthnInstantDate
Description copied from interface:AuthnStatementGets the value of the authnInstant property.- Specified by:
getAuthnInstantDatein interfaceAuthnStatement- Returns:
- object is
Date
-
getSessionNotOnOrAfterDate
Description copied from interface:AuthnStatementGets the value of the sessionNotOnOrAfter property.- Specified by:
getSessionNotOnOrAfterDatein interfaceAuthnStatement- Returns:
- object is
Date
-
getSubjectLocalityAddress
Description copied from interface:AuthnStatementGets the value of the SubjectLocality address property.- Specified by:
getSubjectLocalityAddressin interfaceAuthnStatement- Returns:
- object is
String
-
getSubjectLocalityDNSName
Description copied from interface:AuthnStatementGets the value of the SubjectLocality dnsName property.- Specified by:
getSubjectLocalityDNSNamein interfaceAuthnStatement- Returns:
- object is
String
-
getAuthnContextClassRef
Description copied from interface:AuthnStatementGets the value of the AuthnContext's AuthnContextClassRef property.- Specified by:
getAuthnContextClassRefin interfaceAuthnStatement- Returns:
- object is
String
-
getAuthenticatingAuthority
Description copied from interface:AuthnStatementGets the value of the AuthnContext's AuthenticatingAuthority property.- Specified by:
getAuthenticatingAuthorityin interfaceAuthnStatement- Returns:
- object is
String
-
getSessionIndex
Description copied from class:AuthnStatementTypeGets the value of the sessionIndex property.- Specified by:
getSessionIndexin interfaceAuthnStatement- Overrides:
getSessionIndexin classAuthnStatementType- Returns:
- possible object is
String
-