@Deprecated public class AuthnContext extends Object
AuthnContext
represents an Authentication Context
for the authenticated user with a requested authn context.Constructor and Description |
---|
AuthnContext()
Deprecated.
Default constructor
|
AuthnContext(Element root)
Deprecated.
Constructor creates
AuthnContext object
from the Document Element. |
AuthnContext(String authnContextClassRef,
String authnContextStatementRef)
Deprecated.
Constructor creates
AuthnContext object. |
Modifier and Type | Method and Description |
---|---|
String |
getAuthnContextClassRef()
Deprecated.
Returns the AuthnContext Class Reference URI.
|
String |
getAuthnContextStatementRef()
Deprecated.
Returns the AuthnContext Statement Reference URI.
|
int |
getMinorVersion()
Deprecated.
Returns the
MinorVersion attribute. |
void |
setAuthnContextClassRef(String authnContextClassRef)
Deprecated.
Sets the AuthnContext Class Reference URI.
|
void |
setAuthnContextStatementRef(String authnContextStatementRef)
Deprecated.
Sets AuthnContext Statement Reference URI.
|
void |
setMinorVersion(int version)
Deprecated.
Sets the
MinorVersion . |
String |
toXMLString()
Deprecated.
Returns the string representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Deprecated.
Returns a String representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Deprecated.
Returns a String representation of this object.
|
public AuthnContext()
public AuthnContext(String authnContextClassRef, String authnContextStatementRef)
AuthnContext
object.authnContextClassRef
- Authentication Context Class Reference URIauthnContextStatementRef
- Authentication Context
Statement Reference URIpublic AuthnContext(Element root) throws FSMsgException
AuthnContext
object
from the Document Element.root
- the Document Element.FSMsgException
- on error.public String getAuthnContextClassRef()
AuthnContext.setAuthnContextClassRef(java.lang.String)
public void setAuthnContextClassRef(String authnContextClassRef)
authnContextClassRef
- AuthnContext Class Ref URI.AuthnContext.getAuthnContextClassRef()
public String getAuthnContextStatementRef()
AuthnContext.setAuthnContextStatementRef(java.lang.String)
public void setAuthnContextStatementRef(String authnContextStatementRef)
authnContextStatementRef
- AuthnContext Statement Ref URI.AuthnContext.getAuthnContextStatementRef()
public int getMinorVersion()
MinorVersion
attribute.AuthnContext.setMinorVersion(int)
public void setMinorVersion(int version)
MinorVersion
.version
- the minor version in the assertion.AuthnContext.setMinorVersion(int)
public String toXMLString() throws FSMsgException
FSMsgException
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
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.FSMsgException
- if there is an error converting
this object ot a string.public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
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.includeHeader
- Determines whether the output include the xml
declaration header.FSMsgException
- if there is an error converting
this object ot a string.Copyright © 2010-2018, ForgeRock All Rights Reserved.