public class SAML2Utils extends Object
| Constructor and Description |
|---|
SAML2Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createID() |
static Element |
getElementFromAssertion(org.opensaml.xml.XMLObject xmlObj) |
static SAML2KeyInfo |
getSAML2KeyInfo(org.opensaml.saml2.core.Assertion assertion,
org.apache.ws.security.components.crypto.Crypto crypto,
CallbackHandler cb) |
static SAML2KeyInfo |
getSAML2KeyInfo(Element elem,
org.apache.ws.security.components.crypto.Crypto crypto,
CallbackHandler cb)
Extract certificates or the key available in the SAMLAssertion
|
public static Element getElementFromAssertion(org.opensaml.xml.XMLObject xmlObj) throws TrustException
TrustExceptionpublic static SAML2KeyInfo getSAML2KeyInfo(Element elem, org.apache.ws.security.components.crypto.Crypto crypto, CallbackHandler cb) throws org.apache.ws.security.WSSecurityException
elem - org.apache.ws.security.WSSecurityExceptionpublic static SAML2KeyInfo getSAML2KeyInfo(org.opensaml.saml2.core.Assertion assertion, org.apache.ws.security.components.crypto.Crypto crypto, CallbackHandler cb) throws org.apache.ws.security.WSSecurityException
org.apache.ws.security.WSSecurityExceptionpublic static String createID()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.