|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaggeryjs.modules.sso.common.util.Util
public class Util
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static org.opensaml.xml.XMLObject |
buildXMLObject(QName objectQName)
|
static String |
createID()
Generates a unique Id for Authentication Requests |
static String |
decode(String encodedStr)
Decoding and deflating the encoded AuthReq |
static void |
doBootstrap()
This method is used to initialize the OpenSAML2 library. |
static String |
encode(String xmlString)
Encoding the response |
static String |
getDomainName(org.opensaml.xml.XMLObject samlObject)
|
static String |
marshall(org.opensaml.xml.XMLObject xmlObject)
Serializing a SAML2 object into a String |
static org.opensaml.xml.XMLObject |
unmarshall(String authReqStr)
Constructing the XMLObject Object from a String |
static boolean |
validateSignature(org.opensaml.saml2.core.Response resp,
String keyStoreName,
String keyStorePassword,
String alias,
int tenantId,
String tenantDomain)
This method validates the signature of the SAML Response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static void doBootstrap()
public static org.opensaml.xml.XMLObject buildXMLObject(QName objectQName)
throws Exception
Exceptionpublic static String createID()
public static org.opensaml.xml.XMLObject unmarshall(String authReqStr)
throws Exception
authReqStr -
Exception
public static String marshall(org.opensaml.xml.XMLObject xmlObject)
throws Exception
xmlObject - object that needs to serialized.
Exceptionpublic static String encode(String xmlString)
xmlString - String to be encoded
public static String decode(String encodedStr)
throws Exception
encodedStr - encoded AuthReq
Exception
public static boolean validateSignature(org.opensaml.saml2.core.Response resp,
String keyStoreName,
String keyStorePassword,
String alias,
int tenantId,
String tenantDomain)
resp - SAML Response
public static String getDomainName(org.opensaml.xml.XMLObject samlObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||