Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.wsee.security.saml
Class CSSUtils

java.lang.Object
  extended by weblogic.wsee.security.saml.CSSUtils

Deprecated.

public class CSSUtils
extends Object

Utility for saml User: jlee Date: Sep 30, 2004 Time: 1:12:56 PM


Field Summary
protected static String SAML_ATTRIBUTE_ONLY
          Deprecated.  
protected static String SAML_ATTRIBUTE_PRINCIPALS
          Deprecated.  
protected static String SAML_ATTRIBUTES
          Deprecated.  
protected static String SAML2_ATTRIBUTES
          Deprecated.  
 
Constructor Summary
CSSUtils()
          Deprecated.  
 
Method Summary
static Subject getCurrentAuthenticatedSubject()
          Deprecated. This will return the current authenticated subject for getting the SAML Attributes
protected static String getEndpointPath(boolean isSaml2, String url)
          Deprecated.  
protected static DocumentBuilder getParser()
          Deprecated.  
static Object[] getSAMLAssertionFromCredMapper(SecurityTokenContextHandler samlCtxHandler, String assertionType)
          Deprecated. This will get the crednetial object array of Element assertions from CM.
static Object getSAMLCredential(boolean isSAML2, String tokenType, SecurityTokenContextHandler samlCtxHandler, Object keyInfoCredential)
          Deprecated. Get the saml credential from CredentialManager
static boolean isHolderOfKey(boolean isSAML2, SecurityTokenContextHandler samlCtxHandler)
          Deprecated.  
static boolean isHolderOfKey(String subjConfirmation)
          Deprecated.  
protected static String mapSAML2ConfMethod(String method)
          Deprecated.  
protected static String mapSAMLConfMethod(String method)
          Deprecated.  
protected static void returnParser(DocumentBuilder builder)
          Deprecated.  
static void setupSAMLAttributesContextElements(boolean isSAML2, SecurityTokenContextHandler samlCtxHandler, boolean attributesOnly, SAMLAttributeStatementData samlAttributes)
          Deprecated. Set up contexthandler properties for SAML Attributes
static void setupSAMLContextElements(boolean isSAML2, SecurityTokenContextHandler samlCtxHandler, ContextHandler ctxHandler)
          Deprecated. Set up contexthandler properties required by SAMLCredMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAML_ATTRIBUTES

protected static final String SAML_ATTRIBUTES
Deprecated. 
See Also:
Constant Field Values

SAML2_ATTRIBUTES

protected static final String SAML2_ATTRIBUTES
Deprecated. 
See Also:
Constant Field Values

SAML_ATTRIBUTE_ONLY

protected static final String SAML_ATTRIBUTE_ONLY
Deprecated. 
See Also:
Constant Field Values

SAML_ATTRIBUTE_PRINCIPALS

protected static final String SAML_ATTRIBUTE_PRINCIPALS
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

CSSUtils

public CSSUtils()
Deprecated. 
Method Detail

setupSAMLContextElements

public static void setupSAMLContextElements(boolean isSAML2,
                                            SecurityTokenContextHandler samlCtxHandler,
                                            ContextHandler ctxHandler)
Deprecated. 
Set up contexthandler properties required by SAMLCredMapper

Parameters:
isSAML2 - true if processing for a SAML 2.0 assertion
samlCtxHandler -
ctxHandler -

setupSAMLAttributesContextElements

public static void setupSAMLAttributesContextElements(boolean isSAML2,
                                                      SecurityTokenContextHandler samlCtxHandler,
                                                      boolean attributesOnly,
                                                      SAMLAttributeStatementData samlAttributes)
Deprecated. 
Set up contexthandler properties for SAML Attributes

Parameters:
isSAML2 - true if processing for a SAML 2.0 assertion
samlCtxHandler - Context Handler to be passed to CSS
attributesOnly - true if this is a SAML Attributes only request
samlAttributes - SAMLAttributeStatementData

getSAMLCredential

public static Object getSAMLCredential(boolean isSAML2,
                                       String tokenType,
                                       SecurityTokenContextHandler samlCtxHandler,
                                       Object keyInfoCredential)
                                throws WSSecurityException
Deprecated. 
Get the saml credential from CredentialManager

Parameters:
isSAML2 - true if requesting a SAML 2.0 assertion
tokenType - tokenType of requested assertion
samlCtxHandler - the SecurityTokenContextHandler contains Claims
keyInfoCredential -
Returns:
credential
Throws:
WSSecurityException

isHolderOfKey

public static boolean isHolderOfKey(boolean isSAML2,
                                    SecurityTokenContextHandler samlCtxHandler)
Deprecated. 

isHolderOfKey

public static boolean isHolderOfKey(String subjConfirmation)
Deprecated. 

getCurrentAuthenticatedSubject

public static Subject getCurrentAuthenticatedSubject()
Deprecated. 
This will return the current authenticated subject for getting the SAML Attributes


getSAMLAssertionFromCredMapper

public static Object[] getSAMLAssertionFromCredMapper(SecurityTokenContextHandler samlCtxHandler,
                                                      String assertionType)
Deprecated. 
This will get the crednetial object array of Element assertions from CM.

Parameters:
samlCtxHandler - The KeyInfo node must be insert into the SecurityTokenContextHandler before the call.
assertionType - Assert type to get
Returns:
credential objects array of Element assertions

getParser

protected static DocumentBuilder getParser()
Deprecated. 

returnParser

protected static void returnParser(DocumentBuilder builder)
Deprecated. 

getEndpointPath

protected static String getEndpointPath(boolean isSaml2,
                                        String url)
Deprecated. 

mapSAML2ConfMethod

protected static String mapSAML2ConfMethod(String method)
Deprecated. 

mapSAMLConfMethod

protected static String mapSAMLConfMethod(String method)
Deprecated. 

Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02