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
 java.util.List getAuthnContextClassRef()
          Returns list of authentication context class references.
 java.util.List getAuthnContextDeclRef()
          Returns list of authentication context declaration class references.
 java.lang.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(java.util.List references)
          Sets authentication context class references.
 void setAuthnContextDeclRef(java.util.List references)
          Sets authentication context declaration class references.
 void setComparison(java.lang.String value)
          Sets the value of the Comparison property.
 java.lang.String toXMLString()
          Returns a String representation of this Object.
 java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this Object.
 

Method Detail

getAuthnContextClassRef

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

Returns:
list of authentication context class references.

setAuthnContextClassRef

public void setAuthnContextClassRef(java.util.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

public java.util.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

public void setAuthnContextDeclRef(java.util.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

public java.lang.String getComparison()
Returns the value of Comparison property.

Returns:
the value of Comparison property.

setComparison

public void setComparison(java.lang.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

public java.lang.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

public java.lang.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

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


isMutable

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

Returns:
true if mutable, false otherwise.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.