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