public class SAMLSecurityTokenReference extends SecurityTokenReferenceImpl
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 AMConstructor and Description |
---|
SAMLSecurityTokenReference()
Deprecated.
default constructor
|
SAMLSecurityTokenReference(QName STRType,
String valueType,
SecurityToken token)
Deprecated.
create a SAMLSecurityTokenReference
|
Modifier and Type | Method and Description |
---|---|
String |
getValueType()
Deprecated.
|
Node |
marshalDirectRef(Element parent,
Node nextSibling,
Map namespaces,
String uri)
Deprecated.
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)
Deprecated.
|
void |
unmarshalDirectRef(Element STRTypeNode)
Deprecated.
|
void |
unmarshalKeyIdRef(Element STRTypeNode)
Deprecated.
|
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
public SAMLSecurityTokenReference()
public SAMLSecurityTokenReference(QName STRType, String valueType, SecurityToken token) throws WSSecurityException
STRType
- type of security token referencevalueType
- SAML_VALUE_TYPEtoken
- saml tokenWSSecurityException
public String getValueType()
getValueType
in interface SecurityTokenReference
getValueType
in class SecurityTokenReferenceImpl
public Node marshalDirectRef(Element parent, Node nextSibling, Map namespaces, String uri)
marshalDirectRef
in class SecurityTokenReferenceImpl
public void unmarshalDirectRef(Element STRTypeNode)
unmarshalDirectRef
in class SecurityTokenReferenceImpl
public Node marshalKeyIdRef(Element parent, Node nextSibling, Map namespaces, KeyIdentifier keyId) throws MarshalException
marshalKeyIdRef
in class SecurityTokenReferenceImpl
MarshalException
public void unmarshalKeyIdRef(Element STRTypeNode) throws MarshalException
unmarshalKeyIdRef
in class SecurityTokenReferenceImpl
MarshalException