Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wsee.security.saml
Class SAMLIssuedTokenHelper

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

public class SAMLIssuedTokenHelper
extends Object


Field Summary
static QName ISSUED_TK_POLICY_QNAME
           
static String ISSUED_TOKEN_POLICY
           
static String ISSUER_URI
           
static String REQ_EXTERNAL_REFERENCE
           
static String REQ_INTERNAL_REFERENCE
           
static String TRUST_VERSION
           
static String TRUST_VERSOIN_10
           
static String TRUST_VERSOIN_13
           
static QName TRUST10_TOKEN_TYPE
           
static QName TRUST13_C14N_ALGO
           
static QName TRUST13_ENC_ALGO
           
static QName TRUST13_ENC_WITH
           
static QName TRUST13_KEY_SIZE
           
static QName TRUST13_KEY_TYPE
           
static QName TRUST13_SIGN_WITH
           
static QName TRUST13_TOKEN_TYPE
           
 
Constructor Summary
SAMLIssuedTokenHelper(Element issuedTokenNode)
           
 
Method Summary
 weblogic.wsee.security.wst.binding.SecondaryParameters biuldSecondaryParameters()
           
static String getClaimFromChildElt(Node claims, String tagName)
           
 String getIssuerAddressUri()
           
 int getKeySize()
           
 String getKeyType()
          For IssuedToken.RequestSecurityTokenTemplate http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1 http://docs.oasis open.org/ws sx/ws trust/200512/SymmetricKey 256 http://www.w3.org/2001/10/xml-exc-c14n# http://www.w3.org/2001/04/xmlenc#aes256-cbc http://www.w3.org/2001/04/xmlenc#aes256-cbc http://www.w3.org/2000/09/xmldsig#hmac-sha1
static String getKeyTypeFromClaims(Node claims)
           
 String getRequestSecurityTokenTemplateVale(QName qName)
           
 String getTokenType()
           
static String getTrustKeyTypeFromIssuedTokenClaims(Node claims)
           
 String getTrustVersion()
           
static String getTrustVersionFromPolicy(weblogic.wsee.security.wss.policy.GeneralPolicy policy)
          base on the thrust assertion in the poliy to return proper trust version.
 boolean isRequireExternalReference()
           
 boolean isRequireInternalReference()
           
static boolean isSymmetricKeyTypeFromIssuedTokenClaim(Node claims)
           
static Element makeIssuedTokenClaimElement(weblogic.wsee.security.wssp.IssuedTokenAssertion issuedTokenAssertion)
           
static Element makeIssuedTokenClaimElement(weblogic.wsee.security.wssp.IssuedTokenAssertion issuedTokenAssertion, Node claims, String trustVersionUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISSUED_TOKEN_POLICY

public static final String ISSUED_TOKEN_POLICY
See Also:
Constant Field Values

ISSUER_URI

public static final String ISSUER_URI
See Also:
Constant Field Values

REQ_INTERNAL_REFERENCE

public static final String REQ_INTERNAL_REFERENCE
See Also:
Constant Field Values

REQ_EXTERNAL_REFERENCE

public static final String REQ_EXTERNAL_REFERENCE
See Also:
Constant Field Values

TRUST_VERSION

public static final String TRUST_VERSION
See Also:
Constant Field Values

ISSUED_TK_POLICY_QNAME

public static final QName ISSUED_TK_POLICY_QNAME

TRUST_VERSOIN_10

public static final String TRUST_VERSOIN_10
See Also:
Constant Field Values

TRUST_VERSOIN_13

public static final String TRUST_VERSOIN_13
See Also:
Constant Field Values

TRUST13_TOKEN_TYPE

public static final QName TRUST13_TOKEN_TYPE

TRUST10_TOKEN_TYPE

public static final QName TRUST10_TOKEN_TYPE

TRUST13_KEY_TYPE

public static final QName TRUST13_KEY_TYPE

TRUST13_KEY_SIZE

public static final QName TRUST13_KEY_SIZE

TRUST13_C14N_ALGO

public static final QName TRUST13_C14N_ALGO

TRUST13_ENC_ALGO

public static final QName TRUST13_ENC_ALGO

TRUST13_ENC_WITH

public static final QName TRUST13_ENC_WITH

TRUST13_SIGN_WITH

public static final QName TRUST13_SIGN_WITH
Constructor Detail

SAMLIssuedTokenHelper

public SAMLIssuedTokenHelper(Element issuedTokenNode)
Method Detail

isRequireInternalReference

public boolean isRequireInternalReference()

isRequireExternalReference

public boolean isRequireExternalReference()

getIssuerAddressUri

public String getIssuerAddressUri()

getTrustVersion

public String getTrustVersion()

getRequestSecurityTokenTemplateVale

public String getRequestSecurityTokenTemplateVale(QName qName)

getTokenType

public String getTokenType()

biuldSecondaryParameters

public weblogic.wsee.security.wst.binding.SecondaryParameters biuldSecondaryParameters()

getKeyType

public String getKeyType()
For IssuedToken.RequestSecurityTokenTemplate http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1 http://docs.oasis open.org/ws sx/ws trust/200512/SymmetricKey 256 http://www.w3.org/2001/10/xml-exc-c14n# http://www.w3.org/2001/04/xmlenc#aes256-cbc http://www.w3.org/2001/04/xmlenc#aes256-cbc http://www.w3.org/2000/09/xmldsig#hmac-sha1


getKeySize

public int getKeySize()

makeIssuedTokenClaimElement

public static Element makeIssuedTokenClaimElement(weblogic.wsee.security.wssp.IssuedTokenAssertion issuedTokenAssertion)
                                           throws weblogic.wsee.security.wss.SecurityPolicyException
Throws:
weblogic.wsee.security.wss.SecurityPolicyException

makeIssuedTokenClaimElement

public static Element makeIssuedTokenClaimElement(weblogic.wsee.security.wssp.IssuedTokenAssertion issuedTokenAssertion,
                                                  Node claims,
                                                  String trustVersionUri)

getTrustVersionFromPolicy

public static String getTrustVersionFromPolicy(weblogic.wsee.security.wss.policy.GeneralPolicy policy)
base on the thrust assertion in the poliy to return proper trust version. If there is no trust assertion, this TRUST_VERSION will be null

Parameters:
policy - GeneralPolicy object
Returns:
trust namespace uri

getClaimFromChildElt

public static String getClaimFromChildElt(Node claims,
                                          String tagName)

getKeyTypeFromClaims

public static String getKeyTypeFromClaims(Node claims)

getTrustKeyTypeFromIssuedTokenClaims

public static String getTrustKeyTypeFromIssuedTokenClaims(Node claims)

isSymmetricKeyTypeFromIssuedTokenClaim

public static boolean isSymmetricKeyTypeFromIssuedTokenClaim(Node claims)

Copyright 1996, 2010, 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.4)

Part Number E13941-04