Package com.sun.identity.saml2.protocol
Interface RequestedAuthnContext
-
@SupportedAll 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAuthnContextClassRef()
Returns list of authentication context class references.List
getAuthnContextDeclRef()
Returns list of authentication context declaration class references.String
getComparison()
Returns the value ofComparison
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 theComparison
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<String> 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 ofComparison
property.- Returns:
- the value of
Comparison
property.
-
setComparison
void setComparison(String value) throws SAML2Exception
Sets the value of theComparison
property.- Parameters:
value
- the value of theComparison
property.- Throws:
SAML2Exception
- ifObject
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.
-
-