public class AuthXMLUtils extends Object
Constructor and Description |
---|
AuthXMLUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
deserializeToObject(String encObj)
Deserialize a string back into the original object
|
static Callback[] |
getCallbacks(Node callbackNode,
boolean noFilter)
TODO-JAVADOC
|
static Callback[] |
getCallbacks(Node callbackNode,
boolean noFilter,
Callback[] callbacks)
TODO-JAVADOC
|
protected static String |
getDataName(Node node) |
protected static String |
getDataValue(Node node) |
static Subject |
getDeSerializedSubject(String subjectSerialized)
Deserializes Subject.
|
protected static String |
getId(Node node) |
protected static String |
getPrompt(Node node) |
protected static String |
getRedirectBackUrlCookie(Node node) |
protected static Map |
getRedirectData(Node node) |
protected static String |
getRedirectStatus(Node node) |
protected static String |
getRedirectStatusParam(Node node) |
protected static String |
getRedirectURL(Node node) |
static javax.servlet.http.HttpServletRequest |
getRemoteRequest(Node requestNode)
Returns the remote HttpServletRequest object from the embedded serialized
content in the XML document
|
static javax.servlet.http.HttpServletResponse |
getRemoteResponse(Node responseNode)
Returns the remote HttpServletResponse object from the embedded serialized
content in the XML document
|
static String |
getSerializedSubject(Subject subject)
Serialize the subject.
|
protected static String |
getValue(Node node) |
protected static String |
getValueNoTrim(Node node) |
protected static String |
getValueOfChildNode(Node node,
String childNode) |
static String |
getXMLForCallbacks(Callback[] callbacks)
TODO-JAVADOC
|
static String |
serializeToString(Object object)
Serialize an object to a string
|
public static Callback[] getCallbacks(Node callbackNode, boolean noFilter)
public static Callback[] getCallbacks(Node callbackNode, boolean noFilter, Callback[] callbacks)
public static javax.servlet.http.HttpServletRequest getRemoteRequest(Node requestNode)
requestNode
- The request xml nodepublic static javax.servlet.http.HttpServletResponse getRemoteResponse(Node responseNode)
responseNode
- The response xml nodepublic static String getSerializedSubject(Subject subject)
subject
- Subject to be serialized.public static Subject getDeSerializedSubject(String subjectSerialized) throws Exception
subjectSerialized
- Serialized Subject.Exception
public static String serializeToString(Object object) throws IOException
object
- The object to be serializedIOException
- If the object is not serializablepublic static Object deserializeToObject(String encObj) throws IOException, ClassNotFoundException
encObj
- The Base64 encoded string representation of the objectIOException
- If the object cannot be deserializedClassNotFoundException
- If the class representing the object
cannot be foundCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.