|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.federation.message.common.RequestAuthnContext
public class RequestAuthnContext
This class RequestAuthnContext
represents the requesting
Authentication Context as part of the FSAuthnRequest
.
Constructor Summary | |
---|---|
RequestAuthnContext()
Default constructor. |
|
RequestAuthnContext(Element root)
Constructor to create RequestAuthnContext object from
Docuemnt Element. |
|
RequestAuthnContext(List authnContextClassRefList,
List authnContextStatementRefList,
String authnContextComparison)
Constructor to create RequestAuthnContext object. |
Method Summary | |
---|---|
List |
getAuthnContextClassRefList()
Returns List of AuthnContext Class References. |
String |
getAuthnContextComparison()
Returns the AuthnContext Comparison type. |
List |
getAuthnContextStatementRefList()
Returns a List of AuthnContext Statement
References. |
int |
getMinorVersion()
Returns the MinorVersion . |
static RequestAuthnContext |
parseURLEncodedRequest(HttpServletRequest request,
int minorVersion)
Returns RequestAuthnContext object. |
void |
setAuthnContextClassRefList(List authnContextClassRefList)
Sets a List of AuthnContext Class References. |
void |
setAuthnContextComparison(String authnContextComparison)
Sets the AuthnContext comparison type. |
void |
setAuthnContextStatementRefList(List authnContextStatementRefList)
Sets a List of AuthnContext Statement
References. |
void |
setMinorVersion(int minorVersion)
Sets the MinorVersion . |
String |
toURLEncodedQueryString()
Returns an URL Encoded String. |
String |
toXMLString()
Returns a String representation of the Logout Response. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Returns a String representation of the Logout Response. |
Constructor Detail |
---|
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.Method Detail |
---|
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(HttpServletRequest request, int minorVersion) throws FSMsgException
RequestAuthnContext
object. The
object is creating by parsing the HttpServletRequest
object.
request
- the HttpServletRequest
object.
object.
- Throws:
FSMsgException
- if there is an error
creating RequestAuthnContext
object.
public String toURLEncodedQueryString() throws FSMsgException
FSMsgException
- if there is an error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |