|
||||||||||
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
This class RequestAuthnContext
represents the requesting
Authentication Context as part of the FSAuthnRequest
.
Constructor Summary | |
RequestAuthnContext()
Default constructor |
|
RequestAuthnContext(org.w3c.dom.Element root)
Constructor |
|
RequestAuthnContext(java.util.List authnContextClassRefList,
java.util.List authnContextStatementRefList,
java.lang.String authnContextComparison)
Constructor |
Method Summary | |
java.util.List |
getAuthnContextClassRefList()
Gets AuthnContext Class References. |
java.lang.String |
getAuthnContextComparison()
Gets the AuthnContext Comparison. |
java.util.List |
getAuthnContextStatementRefList()
Gets AuthnContext Statement References. |
int |
getMinorVersion()
Gets Minor Version |
static RequestAuthnContext |
parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request,
int minorVersion)
Parses the url encoded request and creates an authncontext. |
void |
setAuthnContextClassRefList(java.util.List authnContextClassRefList)
Sets AuthnContext Class References. |
void |
setAuthnContextComparison(java.lang.String authnContextComparison)
Sets the authncontext comparison. |
void |
setAuthnContextStatementRefList(java.util.List authnContextStatementRefList)
Sets AuthnContext Statement References. |
void |
setMinorVersion(int minorVersion)
Sets the Minor Version. |
java.lang.String |
toURLEncodedQueryString()
Converts into a URL encoded query string. |
java.lang.String |
toXMLString()
Converts into an XML String. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Converts into an XML String. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Converts into an XML String. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestAuthnContext(java.util.List authnContextClassRefList, java.util.List authnContextStatementRefList, java.lang.String authnContextComparison)
authnContextClassRefList
- Ordered list of AuthnContext Classes references.public RequestAuthnContext()
public RequestAuthnContext(org.w3c.dom.Element root) throws FSMsgException
root
- DOM Element
FSMsgException
- if unable to construct the objectMethod Detail |
public java.util.List getAuthnContextClassRefList()
public void setAuthnContextClassRefList(java.util.List authnContextClassRefList)
authnContextClassRefList
- list of AuthnContext Class References.
to be set.public java.util.List getAuthnContextStatementRefList()
public void setAuthnContextStatementRefList(java.util.List authnContextStatementRefList)
authnContextStatementRefList
- list of AuthnContext Statement
References to be set.public java.lang.String getAuthnContextComparison()
public void setAuthnContextComparison(java.lang.String authnContextComparison)
authnContextComparison
- AuthnContext Comparison to be set.public int getMinorVersion()
public void setMinorVersion(int minorVersion)
minorVersion
- minor version to be setpublic java.lang.String toXMLString() throws FSMsgException
FSMsgException
- if unable to get the XML string.public java.lang.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 unable to get the XML string.public java.lang.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 unable to get the XML string.public static RequestAuthnContext parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request, int minorVersion) throws FSMsgException
request
- HttpServletRequest
object to retrieve
the query parameters.minorVersion
- minor version of the request
RequestAuthnContext
object
FSMsgException
- if unable to parse the object.public java.lang.String toURLEncodedQueryString() throws FSMsgException
FSMsgException
- if fail to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |