Class RequestAuthnContext
- java.lang.Object
-
- com.sun.identity.federation.message.common.RequestAuthnContext
-
@Deprecated public class RequestAuthnContext extends Object
Deprecated.since 12.0.0This classRequestAuthnContextrepresents the requesting Authentication Context as part of theFSAuthnRequest.
-
-
Constructor Summary
Constructors Constructor Description RequestAuthnContext()Deprecated.Default constructor.RequestAuthnContext(List authnContextClassRefList, List authnContextStatementRefList, String authnContextComparison)Deprecated.Constructor to createRequestAuthnContextobject.RequestAuthnContext(Element root)Deprecated.Constructor to createRequestAuthnContextobject from Docuemnt Element.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ListgetAuthnContextClassRefList()Deprecated.ReturnsListofAuthnContextClass References.StringgetAuthnContextComparison()Deprecated.Returns theAuthnContextComparison type.ListgetAuthnContextStatementRefList()Deprecated.Returns aListofAuthnContextStatement References.intgetMinorVersion()Deprecated.Returns theMinorVersion.static RequestAuthnContextparseURLEncodedRequest(jakarta.servlet.http.HttpServletRequest request, int minorVersion)Deprecated.ReturnsRequestAuthnContextobject.voidsetAuthnContextClassRefList(List authnContextClassRefList)Deprecated.Sets aListofAuthnContextClass References.voidsetAuthnContextComparison(String authnContextComparison)Deprecated.Sets theAuthnContextcomparison type.voidsetAuthnContextStatementRefList(List authnContextStatementRefList)Deprecated.Sets aListofAuthnContextStatement References.voidsetMinorVersion(int minorVersion)Deprecated.Sets theMinorVersion.StringtoURLEncodedQueryString()Deprecated.Returns an URL Encoded String.StringtoXMLString()Deprecated.Returns a String representation of the Logout Response.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Returns a String representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS, boolean includeHeader)Deprecated.Returns a String representation of the Logout Response.
-
-
-
Constructor Detail
-
RequestAuthnContext
public RequestAuthnContext(List authnContextClassRefList, List authnContextStatementRefList, String authnContextComparison)
Deprecated.Constructor to createRequestAuthnContextobject.- Parameters:
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 areexact,minimum,betterandmaximum.
-
RequestAuthnContext
public RequestAuthnContext()
Deprecated.Default constructor.
-
RequestAuthnContext
public RequestAuthnContext(Element root) throws FSMsgException
Deprecated.Constructor to createRequestAuthnContextobject from Docuemnt Element.- Parameters:
root- the Document Element.- Throws:
FSMsgException- on error.
-
-
Method Detail
-
getAuthnContextClassRefList
public List getAuthnContextClassRefList()
Deprecated.ReturnsListofAuthnContextClass References.- Returns:
ListofAuthnContextClass Reference classes.- See Also:
setAuthnContextClassRefList(List)
-
setAuthnContextClassRefList
public void setAuthnContextClassRefList(List authnContextClassRefList)
Deprecated.Sets aListofAuthnContextClass References.- Parameters:
authnContextClassRefList- aListofAuthnContextClass References.- See Also:
getAuthnContextClassRefList()
-
getAuthnContextStatementRefList
public List getAuthnContextStatementRefList()
Deprecated.Returns aListofAuthnContextStatement References.- Returns:
- a
ListofAuthnContextStatement References. - See Also:
setAuthnContextStatementRefList(List)
-
setAuthnContextStatementRefList
public void setAuthnContextStatementRefList(List authnContextStatementRefList)
Deprecated.Sets aListofAuthnContextStatement References.- Parameters:
authnContextStatementRefList- aListofAuthnContextStatement References.- See Also:
getAuthnContextStatementRefList()
-
getAuthnContextComparison
public String getAuthnContextComparison()
Deprecated.Returns theAuthnContextComparison type.- Returns:
- authnContextComparison the
AuthnContextComparison type. - See Also:
setAuthnContextComparison(String)
-
setAuthnContextComparison
public void setAuthnContextComparison(String authnContextComparison)
Deprecated.Sets theAuthnContextcomparison type.- Parameters:
authnContextComparison- theAuthnContextcomparison type.- See Also:
getAuthnContextComparison()
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns theMinorVersion.- Returns:
- the
MinorVersion. - See Also:
setMinorVersion(int)
-
setMinorVersion
public void setMinorVersion(int minorVersion)
Deprecated.Sets theMinorVersion.- Parameters:
minorVersion- theMinorVersion.- See Also:
getMinorVersion()
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns a String representation of the Logout Response.- Returns:
- a string containing the valid XML for this element
- Throws:
FSMsgException- if there is an error converting this object ot a string.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns a String representation of this object.- Parameters:
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.- Returns:
- a string containing the valid XML for this element
- Throws:
FSMsgException- if there is an error converting this object to a string.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
Deprecated.Returns a String representation of the Logout Response.- Parameters:
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.- Returns:
- a string containing the valid XML for this element
- Throws:
FSMsgException- if there is an error converting this object ot a string.
-
parseURLEncodedRequest
public static RequestAuthnContext parseURLEncodedRequest(jakarta.servlet.http.HttpServletRequest request, int minorVersion) throws FSMsgException
Deprecated.ReturnsRequestAuthnContextobject. The object is creating by parsing theHttpServletRequestobject.- Parameters:
request- theHttpServletRequestobject.- Returns:
object. - Throws:
FSMsgException- if there is an error creatingRequestAuthnContextobject.
-
toURLEncodedQueryString
public String toURLEncodedQueryString() throws FSMsgException
Deprecated.Returns an URL Encoded String.- Returns:
- a url encoded query string.
- Throws:
FSMsgException- if there is an error.
-
-