com.sun.identity.saml2.protocol
Interface RequestedAuthnContext


public interface RequestedAuthnContext

Java content class for RequestedAuthnContext element declaration.

The following schema fragment specifies the expected content contained within this java content object.

 <element name="RequestedAuthnContext" type="{urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContextType"/>
 


Method Summary
 List getAuthnContextClassRef()
          Returns list of authentication context class references.
 List getAuthnContextDeclRef()
          Returns list of authentication context declaration class references.
 String getComparison()
          Returns the value of Comparison property.
 boolean isMutable()
          Returns true if mutable, false otherwise.
 void makeImmutable()
          Makes this object immutable by making this object unmodifiable.
 void setAuthnContextClassRef(List references)
          Sets authentication context class references.
 void setAuthnContextDeclRef(List references)
          Sets authentication context declaration class references.
 void setComparison(String value)
          Sets the value of the Comparison property.
 String toXMLString()
          Returns a String representation of this Object.
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this Object.
 

Method Detail

getAuthnContextClassRef

List getAuthnContextClassRef()
Returns list of authentication context class references. References in the list is String object.

Returns:
list of authentication context class references.

setAuthnContextClassRef

void setAuthnContextClassRef(List references)
                             throws SAML2Exception
Sets authentication context class references.

Parameters:
references - List of authentication context class references where references in the list is String object.
Throws:
SAML2Exception - if this object is immutable.

getAuthnContextDeclRef

List getAuthnContextDeclRef()
Returns list of authentication context declaration class references. References in the list is String object.

Returns:
list of authentication context declaration class references.

setAuthnContextDeclRef

void setAuthnContextDeclRef(List references)
                            throws SAML2Exception
Sets authentication context declaration class references.

Parameters:
references - List of authentication context declaration class references where references in the list is String object.
Throws:
SAML2Exception - if this object is immutable.

getComparison

String getComparison()
Returns the value of Comparison property.

Returns:
the value of Comparison property.

setComparison

void setComparison(String value)
                   throws SAML2Exception
Sets the value of the Comparison property.

Parameters:
value - the value of the Comparison property.
Throws:
SAML2Exception - if Object is immutable.

toXMLString

String toXMLString()
                   throws SAML2Exception
Returns a String representation of this Object.

Returns:
a String representation of this Object.
Throws:
SAML2Exception - if it failed to pasrse the object.

toXMLString

String toXMLString(boolean includeNSPrefix,
                   boolean declareNS)
                   throws SAML2Exception
Returns a String representation of this Object.

Parameters:
includeNSPrefix - true to prepend the namespace qualifier to the Element.
declareNS - true to declare the namespace within the Element.
Returns:
the String representation of this Object.
Throws:
SAML2Exception - if it failed to pasrse the object.

makeImmutable

void makeImmutable()
Makes this object immutable by making this object unmodifiable.


isMutable

boolean isMutable()
Returns true if mutable, false otherwise.

Returns:
true if mutable, false otherwise.