|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
public class 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 | |
|---|---|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnStatementType |
|---|
authnContext, authnInstant, sessionIndex, sessionNotOnOrAfter, subjectLocality |
| Constructor Summary | |
|---|---|
protected |
AuthnStatement()
Default constructor |
|
AuthnStatement(AuthnStatementType authStmtType)
|
|
AuthnStatement(GregorianCalendar authInstant,
SubjectLocality subjectLocality,
AuthnContext authnContext,
String sessionIndex,
GregorianCalendar sessionNotOnOrAfter)
Constructor for authentication statement |
| Method Summary | |
|---|---|
static AuthnStatementType |
fromElement(Element element)
This constructor builds an authentication statement element from an existing XML block. |
String |
getAuthenticatingAuthority()
Gets the value of the AuthnContext's AuthenticatingAuthority property. |
String |
getAuthnContextClassRef()
Gets the value of the AuthnContext's AuthnContextClassRef property. |
Date |
getAuthnInstantDate()
Gets the value of the authnInstant property. |
String |
getSessionIndex()
Gets the value of the sessionIndex property. |
Date |
getSessionNotOnOrAfterDate()
Gets the value of the sessionNotOnOrAfter property. |
String |
getSubjectLocalityAddress()
Gets the value of the SubjectLocality address property. |
String |
getSubjectLocalityDNSName()
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
protected AuthnStatement()
public AuthnStatement(GregorianCalendar authInstant,
SubjectLocality subjectLocality,
AuthnContext authnContext,
String sessionIndex,
GregorianCalendar sessionNotOnOrAfter)
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 AuthnStatement(AuthnStatementType authStmtType)
| Method Detail |
|---|
public static AuthnStatementType 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 getAuthnInstantDate()
AuthnStatement
getAuthnInstantDate in interface AuthnStatementDatepublic Date getSessionNotOnOrAfterDate()
AuthnStatement
getSessionNotOnOrAfterDate in interface AuthnStatementDatepublic String getSubjectLocalityAddress()
AuthnStatement
getSubjectLocalityAddress in interface AuthnStatementStringpublic String getSubjectLocalityDNSName()
AuthnStatement
getSubjectLocalityDNSName in interface AuthnStatementStringpublic String getAuthnContextClassRef()
AuthnStatement
getAuthnContextClassRef in interface AuthnStatementStringpublic String getAuthenticatingAuthority()
AuthnStatement
getAuthenticatingAuthority in interface AuthnStatementStringpublic String getSessionIndex()
AuthnStatementType
getSessionIndex in interface AuthnStatementgetSessionIndex in class AuthnStatementTypeString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||