| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.security.saml.SAMLUtils
public class SAMLUtils
Utility class for SAML credentials/tokens.
| Field Summary | |
|---|---|
| static String | SAML_ATN_STATEMENT_TAG | 
| static String | SAML_ATTRIBUTE_STATEMENT_TAG | 
| static String | SAML_SUBJCONF_TAG | 
| static String | SAML_SUBJECT_TAG | 
| Constructor Summary | |
|---|---|
| SAMLUtils() | |
| Method Summary | |
|---|---|
| static Element | getFirstMatchingChildElement(Element parent,
                             String childName) | 
| static Subject | getJavaSubjectFromSamlElement(Node samlNode) | 
| static Element | getNameIdentifierElm(Element subjectElm) | 
| static Node | getReplaceAttributeStmtToAuthenticateStmtSAMLNode(Element saml)This is a hack when SAML | 
| static Element | getSubjectElementFromSamlAssertion(Element saml) | 
| static String | getTokenTypeFromAssertionElement(Element token) | 
| static boolean | hasAttributeNoAuthenticateStmt(Element saml) | 
| static boolean | hasX509SubjectName(Element nameIdentifierElm)check if the SAML has X509SubjectName | 
| static boolean | isEquivalentSamlTokenType(String type1,
                          String type2) | 
| static boolean | isSamlTokenType(String tokenType)Check if this is a SAML Token type | 
| static boolean | isSymmetricKeyType(String keyType) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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
| Constructor Detail | 
|---|
public SAMLUtils()
| Method Detail | 
|---|
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 checked
public static boolean isSymmetricKeyType(String keyType)
public static Element getFirstMatchingChildElement(Element parent,
                                                   String childName)
public static Node getReplaceAttributeStmtToAuthenticateStmtSAMLNode(Element saml)
saml - saml node
public static boolean hasAttributeNoAuthenticateStmt(Element saml)
public static Element getSubjectElementFromSamlAssertion(Element saml)
public static Element getNameIdentifierElm(Element subjectElm)
public static boolean hasX509SubjectName(Element nameIdentifierElm)
nameIdentifierElm - public static Subject getJavaSubjectFromSamlElement(Node samlNode)
| 
 | Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||