Package com.sun.identity.saml2.protocol
Interface RequestedAuthnContext
-
- All Known Implementing Classes:
RequestedAuthnContextImpl
public interface RequestedAuthnContextJava 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetAuthnContextClassRef()Returns list of authentication context class references.ListgetAuthnContextDeclRef()Returns list of authentication context declaration class references.StringgetComparison()Returns the value ofComparisonproperty.booleanisMutable()Returns true if mutable, false otherwise.voidmakeImmutable()Makes this object immutable by making this object unmodifiable.voidsetAuthnContextClassRef(List references)Sets authentication context class references.voidsetAuthnContextDeclRef(List references)Sets authentication context declaration class references.voidsetComparison(String value)Sets the value of theComparisonproperty.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(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 ofComparisonproperty.- Returns:
- the value of
Comparisonproperty.
-
setComparison
void setComparison(String value) throws SAML2Exception
Sets the value of theComparisonproperty.- Parameters:
value- the value of theComparisonproperty.- Throws:
SAML2Exception- ifObjectis 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.
-
-