public class SAMLUtils
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SAML_ATN_STATEMENT_TAG |
Deprecated.
|
static java.lang.String |
SAML_ATTRIBUTE_STATEMENT_TAG |
Deprecated.
|
static java.lang.String |
SAML_SUBJCONF_TAG |
Deprecated.
|
static java.lang.String |
SAML_SUBJECT_TAG |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static org.w3c.dom.Element |
getFirstMatchingChildElement(org.w3c.dom.Element parent,
java.lang.String childName) |
Deprecated.
|
static javax.security.auth.Subject |
getJavaSubjectFromSamlElement(org.w3c.dom.Node samlNode) |
Deprecated.
|
static org.w3c.dom.Element |
getNameIdentifierElm(org.w3c.dom.Element subjectElm) |
Deprecated.
|
static org.w3c.dom.Node |
getReplaceAttributeStmtToAuthenticateStmtSAMLNode(org.w3c.dom.Element saml) |
Deprecated.
This is a hack when SAML
|
static org.w3c.dom.Element |
getSubjectElementFromSamlAssertion(org.w3c.dom.Element saml) |
Deprecated.
|
static java.lang.String |
getTokenTypeFromAssertionElement(org.w3c.dom.Element token) |
Deprecated.
|
static boolean |
hasAttributeNoAuthenticateStmt(org.w3c.dom.Element saml) |
Deprecated.
|
static boolean |
hasX509SubjectName(org.w3c.dom.Element nameIdentifierElm) |
Deprecated.
check if the SAML has X509SubjectName
|
static boolean |
isEquivalentSamlTokenType(java.lang.String type1,
java.lang.String type2) |
Deprecated.
|
static boolean |
isSamlTokenType(java.lang.String tokenType) |
Deprecated.
Check if this is a SAML Token type
|
static boolean |
isSymmetricKeyType(java.lang.String keyType) |
Deprecated.
|
public static final java.lang.String SAML_SUBJECT_TAG
public static final java.lang.String SAML_ATN_STATEMENT_TAG
public static final java.lang.String SAML_ATTRIBUTE_STATEMENT_TAG
public static final java.lang.String SAML_SUBJCONF_TAG
public static java.lang.String getTokenTypeFromAssertionElement(org.w3c.dom.Element token)
public static boolean isEquivalentSamlTokenType(java.lang.String type1, java.lang.String type2)
public static boolean isSamlTokenType(java.lang.String tokenType)
tokenType
- token type to be checkedpublic static boolean isSymmetricKeyType(java.lang.String keyType)
public static org.w3c.dom.Element getFirstMatchingChildElement(org.w3c.dom.Element parent, java.lang.String childName)
public static org.w3c.dom.Node getReplaceAttributeStmtToAuthenticateStmtSAMLNode(org.w3c.dom.Element saml)
saml
- saml nodepublic static boolean hasAttributeNoAuthenticateStmt(org.w3c.dom.Element saml)
public static org.w3c.dom.Element getSubjectElementFromSamlAssertion(org.w3c.dom.Element saml)
public static org.w3c.dom.Element getNameIdentifierElm(org.w3c.dom.Element subjectElm)
public static boolean hasX509SubjectName(org.w3c.dom.Element nameIdentifierElm)
nameIdentifierElm
- public static javax.security.auth.Subject getJavaSubjectFromSamlElement(org.w3c.dom.Node samlNode)