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

Part Number E13941-06

weblogic.wsee.security.saml
Class SAMLSecurityTokenReference

java.lang.Object
  extended by weblogic.xml.crypto.wss.SecurityTokenReferenceImpl
      extended by weblogic.wsee.security.saml.SAMLSecurityTokenReference
All Implemented Interfaces:
weblogic.xml.crypto.api.XMLStructure, weblogic.xml.crypto.dsig.KeyInfoObjectFactory, SecurityTokenReference, weblogic.xml.dom.marshal.WLDOMStructure

public class SAMLSecurityTokenReference
extends SecurityTokenReferenceImpl

SAML Token Reference for Token Profile 1.1.

This class will handle the STR with the addtional wss 1.1 Token Type attribute.

User: sychang Date: Jun 30, 2006 Time: 11:59:30 AM


Constructor Summary
SAMLSecurityTokenReference()
          default constructor
SAMLSecurityTokenReference(QName STRType, String valueType, SecurityToken token)
          create a SAMLSecurityTokenReference
 
Method Summary
 String getValueType()
           
 Node marshalDirectRef(Element parent, Node nextSibling, Map namespaces, String uri)
          Override base class method, because STP 1.1 spec says must set token type attr and not set value type attr.
 Node marshalKeyIdRef(Element parent, Node nextSibling, Map namespaces, KeyIdentifier keyId)
           
 void unmarshalDirectRef(Element STRTypeNode)
           
 void unmarshalKeyIdRef(Element STRTypeNode)
           
 
Methods inherited from class weblogic.xml.crypto.wss.SecurityTokenReferenceImpl
createAndUnmarshal, getId, getIssuerSerial, getKeyIdentifier, getPrefix, getQName, getReferenceURI, getSecurityToken, getStrNode, getSTRType, getUsage, isFeatureSupported, marshal, marshalAttributes, marshalEmbeddedRef, marshalInternal, newKeyInfoObject, register, setId, setKeyIdentifier, setReferenceURI, setSTRType, setValueType, unmarshal, unmarshalEmbeddedRef, unmarshalInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLSecurityTokenReference

public SAMLSecurityTokenReference()
default constructor


SAMLSecurityTokenReference

public SAMLSecurityTokenReference(QName STRType,
                                  String valueType,
                                  SecurityToken token)
create a SAMLSecurityTokenReference

Parameters:
STRType - type of security token reference
valueType - SAML_VALUE_TYPE
token - saml token
Method Detail

getValueType

public String getValueType()
Specified by:
getValueType in interface SecurityTokenReference
Overrides:
getValueType in class SecurityTokenReferenceImpl

marshalDirectRef

public Node marshalDirectRef(Element parent,
                             Node nextSibling,
                             Map namespaces,
                             String uri)
Override base class method, because STP 1.1 spec says must set token type attr and not set value type attr.

Overrides:
marshalDirectRef in class SecurityTokenReferenceImpl

unmarshalDirectRef

public void unmarshalDirectRef(Element STRTypeNode)
Overrides:
unmarshalDirectRef in class SecurityTokenReferenceImpl

marshalKeyIdRef

public Node marshalKeyIdRef(Element parent,
                            Node nextSibling,
                            Map namespaces,
                            KeyIdentifier keyId)
                     throws weblogic.xml.dom.marshal.MarshalException
Overrides:
marshalKeyIdRef in class SecurityTokenReferenceImpl
Throws:
weblogic.xml.dom.marshal.MarshalException

unmarshalKeyIdRef

public void unmarshalKeyIdRef(Element STRTypeNode)
                       throws weblogic.xml.dom.marshal.MarshalException
Overrides:
unmarshalKeyIdRef in class SecurityTokenReferenceImpl
Throws:
weblogic.xml.dom.marshal.MarshalException

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