public class AssertionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Assertion |
fromElement(Element element) |
static String |
getConfirmationMethod(Element assertion) |
static Key |
getSubjectConfirmationKey(Element assertion,
CallbackHandler callbackHandler)
Retrive the key from HOK SAML Assertion
|
static Element |
getSubjectConfirmationKeyInfo(Element assertion) |
static Key |
resolveEncryptedKey(org.apache.xml.security.encryption.EncryptedKey encryptedKey,
CallbackHandler callbackHandler) |
static Key |
resolveX509Data(org.apache.xml.security.keys.content.X509Data x509Data,
CallbackHandler callbackHandler) |
public static Key getSubjectConfirmationKey(Element assertion, CallbackHandler callbackHandler) throws XWSSecurityException
assertion - An org.w3c.dom.Element representation of SAML AssertioncallbackHandler - A javax.security.auth.callback.CallbackHandler object used to retrive the keyXWSSecurityExceptionpublic static Key resolveX509Data(org.apache.xml.security.keys.content.X509Data x509Data, CallbackHandler callbackHandler) throws XWSSecurityException
XWSSecurityExceptionpublic static Key resolveEncryptedKey(org.apache.xml.security.encryption.EncryptedKey encryptedKey, CallbackHandler callbackHandler) throws XWSSecurityException
XWSSecurityExceptionpublic static Assertion fromElement(Element element) throws SAMLException
SAMLExceptionpublic static Element getSubjectConfirmationKeyInfo(Element assertion) throws XWSSecurityException
XWSSecurityExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.