@Deprecated public class RequestAuthnContext extends Object
RequestAuthnContext
represents the requesting
Authentication Context as part of the FSAuthnRequest
.Constructor and Description |
---|
RequestAuthnContext()
Deprecated.
Default constructor.
|
RequestAuthnContext(Element root)
Deprecated.
Constructor to create
RequestAuthnContext object from
Docuemnt Element. |
RequestAuthnContext(List authnContextClassRefList,
List authnContextStatementRefList,
String authnContextComparison)
Deprecated.
Constructor to create
RequestAuthnContext object. |
Modifier and Type | Method and Description |
---|---|
List |
getAuthnContextClassRefList()
Deprecated.
Returns
List of AuthnContext Class References. |
String |
getAuthnContextComparison()
Deprecated.
Returns the
AuthnContext Comparison type. |
List |
getAuthnContextStatementRefList()
Deprecated.
Returns a
List of AuthnContext Statement
References. |
int |
getMinorVersion()
Deprecated.
Returns the
MinorVersion . |
static RequestAuthnContext |
parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request,
int minorVersion)
Deprecated.
Returns
RequestAuthnContext object. |
void |
setAuthnContextClassRefList(List authnContextClassRefList)
Deprecated.
Sets a
List of AuthnContext Class References. |
void |
setAuthnContextComparison(String authnContextComparison)
Deprecated.
Sets the
AuthnContext comparison type. |
void |
setAuthnContextStatementRefList(List authnContextStatementRefList)
Deprecated.
Sets a
List of AuthnContext Statement
References. |
void |
setMinorVersion(int minorVersion)
Deprecated.
Sets the
MinorVersion . |
String |
toURLEncodedQueryString()
Deprecated.
Returns an URL Encoded String.
|
String |
toXMLString()
Deprecated.
Returns a String representation of the Logout Response.
|
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 the Logout Response.
|
public RequestAuthnContext(List authnContextClassRefList, List authnContextStatementRefList, String authnContextComparison)
RequestAuthnContext
object.authnContextClassRefList
- Ordered list of AuthnContext Classes Refs.authnContextStatementRefList
- Ordered list of AuthnContext Statement Refs.
Note: authnContextClassRefList and authContextStatementRefList
are mutually exclusive lists.authnContextComparison
- AuthnContext Comparison Type.
Possible values are exact
, minimum
,
better
and maximum
.public RequestAuthnContext()
public RequestAuthnContext(Element root) throws FSMsgException
RequestAuthnContext
object from
Docuemnt Element.root
- the Document Element.FSMsgException
- on error.public List getAuthnContextClassRefList()
List
of AuthnContext
Class References.List
of AuthnContext
Class Reference
classes.RequestAuthnContext.setAuthnContextClassRefList(List)
public void setAuthnContextClassRefList(List authnContextClassRefList)
List
of AuthnContext
Class References.authnContextClassRefList
- a List
of
AuthnContext
Class References.RequestAuthnContext.getAuthnContextClassRefList()
public List getAuthnContextStatementRefList()
List
of AuthnContext
Statement
References.List
of AuthnContext
Statement
References.RequestAuthnContext.setAuthnContextStatementRefList(List)
public void setAuthnContextStatementRefList(List authnContextStatementRefList)
List
of AuthnContext
Statement
References.authnContextStatementRefList
- a List
of
AuthnContext
Statement References.RequestAuthnContext.getAuthnContextStatementRefList()
public String getAuthnContextComparison()
AuthnContext
Comparison type.AuthnContext
Comparison
type.RequestAuthnContext.setAuthnContextComparison(String)
public void setAuthnContextComparison(String authnContextComparison)
AuthnContext
comparison type.authnContextComparison
- the AuthnContext
comparison
type.RequestAuthnContext.getAuthnContextComparison()
public int getMinorVersion()
MinorVersion
.MinorVersion
.RequestAuthnContext.setMinorVersion(int)
public void setMinorVersion(int minorVersion)
MinorVersion
.minorVersion
- the MinorVersion
.RequestAuthnContext.getMinorVersion()
public String toXMLString() throws FSMsgException
FSMsgException
- if there is an error converting
this object ot a string.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 to 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.public static RequestAuthnContext parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request, int minorVersion) throws FSMsgException
RequestAuthnContext
object. The
object is creating by parsing the HttpServletRequest
object.request
- the HttpServletRequest
object.RequestAuthnContext
object.FSMsgException
- if there is an error
creating RequestAuthnContext
object.public String toURLEncodedQueryString() throws FSMsgException
FSMsgException
- if there is an error.Copyright © 2010-2018, ForgeRock All Rights Reserved.