|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AuthnContext
element specifies the context of an
authentication event. The element can contain an authentication context
class reference, an authentication declaration or declaration reference,
or both. Its type is AuthnContextType
.
<complexType name="AuthnContextType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef"/> <choice minOccurs="0"> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/> </choice> </sequence> <choice> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/> </choice> </choice> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthenticatingAuthority" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Method Summary | |
java.util.List |
getAuthenticatingAuthority()
Returns the value of the AuthenticatingAuthority property. |
java.lang.String |
getAuthnContextClassRef()
Returns the value of the AuthnContextClassRef property. |
java.lang.String |
getAuthnContextDecl()
Returns the value of the AuthnContextDecl property. |
java.lang.String |
getAuthnContextDeclRef()
Returns the value of the AuthnContextDeclRef property. |
boolean |
isMutable()
Returns the mutability of the object. |
void |
makeImmutable()
Makes the object immutable. |
void |
setAuthenticatingAuthority(java.util.List value)
Sets the value of the AuthenticatingAuthority property. |
void |
setAuthnContextClassRef(java.lang.String value)
Sets the value of the AuthnContextClassRef property. |
void |
setAuthnContextDecl(java.lang.String value)
Sets the value of the AuthnContextDecl property. |
void |
setAuthnContextDeclRef(java.lang.String value)
Sets the value of the AuthnContextDeclRef property. |
java.lang.String |
toXMLString()
Returns a String representation of the element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of the element. |
Method Detail |
public void makeImmutable()
public boolean isMutable()
true
if the object is mutable;
false
otherwise.public java.lang.String getAuthnContextClassRef()
AuthnContextClassRef
property.
AuthnContextClassRef
.setAuthnContextClassRef(String)
public void setAuthnContextClassRef(java.lang.String value) throws SAML2Exception
AuthnContextClassRef
property.
value
- new AuthenticationContextClassRef
.
SAML2Exception
- if the object is immutable.getAuthnContextClassRef()
public java.lang.String getAuthnContextDeclRef()
AuthnContextDeclRef
property.
setAuthnContextDeclRef(String)
public void setAuthnContextDeclRef(java.lang.String value) throws SAML2Exception
AuthnContextDeclRef
property.
value
- A String representation of authentication context
declaration reference.
SAML2Exception
- if the object is immutable.getAuthnContextDeclRef()
public java.lang.String getAuthnContextDecl()
AuthnContextDecl
property.
setAuthnContextDecl(String)
public void setAuthnContextDecl(java.lang.String value) throws SAML2Exception
AuthnContextDecl
property.
value
- An xml String representing authentication context
declaration.
SAML2Exception
- if the object is immutable.getAuthnContextDecl()
public void setAuthenticatingAuthority(java.util.List value) throws SAML2Exception
AuthenticatingAuthority
property.
value
- List of Strings representing authenticating authority
SAML2Exception
- if the object is immutable.getAuthenticatingAuthority()
public java.util.List getAuthenticatingAuthority()
AuthenticatingAuthority
property.
AuthenticatingAuthority
.setAuthenticatingAuthority(List)
public java.lang.String toXMLString() throws SAML2Exception
SAML2Exception
- if the object does not conform to the schema.public java.lang.String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.
SAML2Exception
- if the object does not conform to the schema.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |