com.sun.xml.ws.security.trust.impl.elements
Class RequestSecurityTokenImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenType
      extended by com.sun.xml.ws.security.trust.impl.elements.RequestSecurityTokenImpl
All Implemented Interfaces:
BaseSTSRequest, RequestSecurityToken, WSTrustElementBase

public class RequestSecurityTokenImpl
extends RequestSecurityTokenType
implements RequestSecurityToken

Implementation of the RequestSecurityToken interface.

Author:
Manveen Kaur

Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenType
any, context
 
Constructor Summary
RequestSecurityTokenImpl()
           
RequestSecurityTokenImpl(RequestSecurityTokenType rstType)
           
RequestSecurityTokenImpl(URI tokenType, URI requestType)
           
RequestSecurityTokenImpl(URI tokenType, URI requestType, CancelTarget cancel)
           
RequestSecurityTokenImpl(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lifetime, URI algorithm)
           
RequestSecurityTokenImpl(URI tokenType, URI requestType, URI context, RenewTarget target, AllowPostdating apd, Renewing renewingInfo)
           
 
Method Summary
 ActAs getActAs()
           
 AllowPostdating getAllowPostdating()
           
 AppliesTo getAppliesTo()
           
 URI getAuthenticationType()
           
 BinaryExchange getBinaryExchange()
           
 CancelTarget getCancelTarget()
           
 URI getCanonicalizationAlgorithm()
           
 Claims getClaims()
           
 URI getComputedKeyAlgorithm()
           
 boolean getDelegatable()
           
 DelegateTo getDelegateTo()
           
 Encryption getEncryption()
           
 URI getEncryptionAlgorithm()
           
 URI getEncryptWith()
           
 Entropy getEntropy()
           
 List<Object> getExtensionElements()
           
 boolean getForwardable()
           
 Issuer getIssuer()
           
 long getKeySize()
           
 URI getKeyType()
           
 URI getKeyWrapAlgorithm()
           
 Lifetime getLifetime()
           
 OnBehalfOf getOnBehalfOf()
           
 Participants getParticipants()
           
 com.sun.xml.ws.policy.Policy getPolicy()
           
 PolicyReference getPolicyReference()
           
 ProofEncryption getProofEncryption()
           
 Renewing getRenewable()
           
 RenewTarget getRenewTarget()
           
 URI getRequestType()
           
 SecondaryParameters getSecondaryParameters()
           
 URI getSignatureAlgorithm()
           
 SignChallenge getSignChallenge()
           
 URI getSignWith()
           
 URI getTokenType()
           
 UseKey getUseKey()
           
 ValidateTarget getValidateTarget()
           
 void setActAs(ActAs actAs)
           
 void setAllowPostdating(AllowPostdating allowPostdating)
           
 void setAppliesTo(AppliesTo appliesTo)
           
 void setAuthenticationType(URI uri)
           
 void setBinaryExchange(BinaryExchange exchange)
           
 void setCancelTarget(CancelTarget cTarget)
           
 void setCanonicalizationAlgorithm(URI algorithm)
           
 void setClaims(Claims claims)
           
 void setComputedKeyAlgorithm(URI algorithm)
           
 void setDelegatable(boolean flag)
           
 void setDelegateTo(DelegateTo delegateTo)
           
 void setEncryption(Encryption enc)
           
 void setEncryptionAlgorithm(URI algorithm)
           
 void setEncryptWith(URI algorithm)
           
 void setEntropy(Entropy entropy)
           
 void setForwardable(boolean flag)
           
 void setIssuer(Issuer issuer)
           
 void setKeySize(long size)
           
 void setKeyType(URI keytype)
           
 void setKeyWrapAlgorithm(URI algorithm)
           
 void setLifetime(Lifetime lifetime)
           
 void setOnBehalfOf(OnBehalfOf onBehalfOf)
           
 void setParticipants(Participants participants)
           
 void setPolicy(com.sun.xml.ws.policy.Policy policy)
           
 void setPolicyReference(PolicyReference policyRef)
           
 void setProofEncryption(ProofEncryption proofEncryption)
           
 void setRenewable(Renewing renew)
           
 void setRenewTarget(RenewTarget target)
           
 void setRequestType(URI requestType)
           
 void setSecondaryParameters(SecondaryParameters sp)
           
 void setSignatureAlgorithm(URI algorithm)
           
 void setSignChallenge(SignChallenge challenge)
           
 void setSignWith(URI algorithm)
           
 void setTokenType(URI tokenType)
           
 void setUseKey(UseKey useKey)
           
 void setValidateTarget(ValidateTarget target)
           
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenType
getAny, getContext, getOtherAttributes, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.security.trust.elements.RequestSecurityToken
getAny, getContext, getOtherAttributes
 

Constructor Detail

RequestSecurityTokenImpl

public RequestSecurityTokenImpl()

RequestSecurityTokenImpl

public RequestSecurityTokenImpl(URI tokenType,
                                URI requestType)

RequestSecurityTokenImpl

public RequestSecurityTokenImpl(URI tokenType,
                                URI requestType,
                                URI context,
                                AppliesTo scopes,
                                Claims claims,
                                Entropy entropy,
                                Lifetime lifetime,
                                URI algorithm)

RequestSecurityTokenImpl

public RequestSecurityTokenImpl(URI tokenType,
                                URI requestType,
                                URI context,
                                RenewTarget target,
                                AllowPostdating apd,
                                Renewing renewingInfo)

RequestSecurityTokenImpl

public RequestSecurityTokenImpl(URI tokenType,
                                URI requestType,
                                CancelTarget cancel)

RequestSecurityTokenImpl

public RequestSecurityTokenImpl(RequestSecurityTokenType rstType)
                         throws URISyntaxException,
                                WSTrustException
Throws:
URISyntaxException
WSTrustException
Method Detail

setClaims

public final void setClaims(Claims claims)
Specified by:
setClaims in interface RequestSecurityToken

getClaims

public Claims getClaims()
Specified by:
getClaims in interface RequestSecurityToken

setCancelTarget

public final void setCancelTarget(CancelTarget cTarget)
Specified by:
setCancelTarget in interface RequestSecurityToken

getCancelTarget

public CancelTarget getCancelTarget()
Specified by:
getCancelTarget in interface RequestSecurityToken

setRenewTarget

public final void setRenewTarget(RenewTarget target)
Specified by:
setRenewTarget in interface RequestSecurityToken

getRenewTarget

public RenewTarget getRenewTarget()
Specified by:
getRenewTarget in interface RequestSecurityToken

setValidateTarget

public final void setValidateTarget(ValidateTarget target)
Specified by:
setValidateTarget in interface RequestSecurityToken

getValidateTarget

public ValidateTarget getValidateTarget()
Specified by:
getValidateTarget in interface RequestSecurityToken

setParticipants

public final void setParticipants(Participants participants)
Specified by:
setParticipants in interface RequestSecurityToken

getParticipants

public Participants getParticipants()
Specified by:
getParticipants in interface RequestSecurityToken

getTokenType

public URI getTokenType()
Specified by:
getTokenType in interface WSTrustElementBase

setTokenType

public final void setTokenType(URI tokenType)
Specified by:
setTokenType in interface WSTrustElementBase

setSecondaryParameters

public void setSecondaryParameters(SecondaryParameters sp)
Specified by:
setSecondaryParameters in interface RequestSecurityToken

getSecondaryParameters

public SecondaryParameters getSecondaryParameters()
Specified by:
getSecondaryParameters in interface RequestSecurityToken

getRequestType

public URI getRequestType()
Specified by:
getRequestType in interface RequestSecurityToken

setRequestType

public final void setRequestType(@NotNull
                                 URI requestType)
Specified by:
setRequestType in interface RequestSecurityToken

getLifetime

public Lifetime getLifetime()
Specified by:
getLifetime in interface WSTrustElementBase

setLifetime

public final void setLifetime(Lifetime lifetime)
Specified by:
setLifetime in interface WSTrustElementBase

getEntropy

public Entropy getEntropy()
Specified by:
getEntropy in interface WSTrustElementBase

setEntropy

public final void setEntropy(Entropy entropy)
Specified by:
setEntropy in interface WSTrustElementBase

setAppliesTo

public final void setAppliesTo(AppliesTo appliesTo)
Specified by:
setAppliesTo in interface WSTrustElementBase

getAppliesTo

public AppliesTo getAppliesTo()
Specified by:
getAppliesTo in interface WSTrustElementBase

setOnBehalfOf

public final void setOnBehalfOf(OnBehalfOf onBehalfOf)
Specified by:
setOnBehalfOf in interface WSTrustElementBase

getOnBehalfOf

public OnBehalfOf getOnBehalfOf()
Specified by:
getOnBehalfOf in interface WSTrustElementBase

setActAs

public void setActAs(ActAs actAs)
Specified by:
setActAs in interface RequestSecurityToken

getActAs

public ActAs getActAs()
Specified by:
getActAs in interface RequestSecurityToken

setIssuer

public final void setIssuer(Issuer issuer)
Specified by:
setIssuer in interface WSTrustElementBase

getIssuer

public Issuer getIssuer()
Specified by:
getIssuer in interface WSTrustElementBase

setRenewable

public final void setRenewable(Renewing renew)
Specified by:
setRenewable in interface WSTrustElementBase

getRenewable

public Renewing getRenewable()
Specified by:
getRenewable in interface WSTrustElementBase

setSignChallenge

public final void setSignChallenge(SignChallenge challenge)
Specified by:
setSignChallenge in interface WSTrustElementBase

getSignChallenge

public SignChallenge getSignChallenge()
Specified by:
getSignChallenge in interface WSTrustElementBase

setBinaryExchange

public final void setBinaryExchange(BinaryExchange exchange)
Specified by:
setBinaryExchange in interface WSTrustElementBase

getBinaryExchange

public BinaryExchange getBinaryExchange()
Specified by:
getBinaryExchange in interface WSTrustElementBase

setAuthenticationType

public final void setAuthenticationType(URI uri)
Specified by:
setAuthenticationType in interface WSTrustElementBase

getAuthenticationType

public URI getAuthenticationType()
Specified by:
getAuthenticationType in interface WSTrustElementBase

setKeyType

public final void setKeyType(@NotNull
                             URI keytype)
                      throws WSTrustException
Specified by:
setKeyType in interface WSTrustElementBase
Throws:
WSTrustException

getKeyType

public URI getKeyType()
Specified by:
getKeyType in interface WSTrustElementBase

setKeySize

public final void setKeySize(long size)
Specified by:
setKeySize in interface WSTrustElementBase

getKeySize

public long getKeySize()
Specified by:
getKeySize in interface WSTrustElementBase

setSignatureAlgorithm

public final void setSignatureAlgorithm(URI algorithm)
Specified by:
setSignatureAlgorithm in interface WSTrustElementBase

getSignatureAlgorithm

public URI getSignatureAlgorithm()
Specified by:
getSignatureAlgorithm in interface WSTrustElementBase

setEncryptionAlgorithm

public final void setEncryptionAlgorithm(URI algorithm)
Specified by:
setEncryptionAlgorithm in interface WSTrustElementBase

getEncryptionAlgorithm

public URI getEncryptionAlgorithm()
Specified by:
getEncryptionAlgorithm in interface WSTrustElementBase

setCanonicalizationAlgorithm

public final void setCanonicalizationAlgorithm(URI algorithm)
Specified by:
setCanonicalizationAlgorithm in interface WSTrustElementBase

getCanonicalizationAlgorithm

public URI getCanonicalizationAlgorithm()
Specified by:
getCanonicalizationAlgorithm in interface WSTrustElementBase

setUseKey

public final void setUseKey(UseKey useKey)
Specified by:
setUseKey in interface WSTrustElementBase

getUseKey

public UseKey getUseKey()
Specified by:
getUseKey in interface WSTrustElementBase

setProofEncryption

public final void setProofEncryption(ProofEncryption proofEncryption)
Specified by:
setProofEncryption in interface WSTrustElementBase

getProofEncryption

public ProofEncryption getProofEncryption()
Specified by:
getProofEncryption in interface WSTrustElementBase

setComputedKeyAlgorithm

public final void setComputedKeyAlgorithm(@NotNull
                                          URI algorithm)
Specified by:
setComputedKeyAlgorithm in interface WSTrustElementBase

getComputedKeyAlgorithm

public URI getComputedKeyAlgorithm()
Specified by:
getComputedKeyAlgorithm in interface WSTrustElementBase

setEncryption

public final void setEncryption(Encryption enc)
Specified by:
setEncryption in interface WSTrustElementBase

getEncryption

public Encryption getEncryption()
Specified by:
getEncryption in interface WSTrustElementBase

setSignWith

public final void setSignWith(URI algorithm)
Specified by:
setSignWith in interface WSTrustElementBase

getSignWith

public URI getSignWith()
Specified by:
getSignWith in interface WSTrustElementBase

setEncryptWith

public final void setEncryptWith(URI algorithm)
Specified by:
setEncryptWith in interface WSTrustElementBase

getEncryptWith

public URI getEncryptWith()
Specified by:
getEncryptWith in interface WSTrustElementBase

setKeyWrapAlgorithm

public void setKeyWrapAlgorithm(URI algorithm)
Specified by:
setKeyWrapAlgorithm in interface WSTrustElementBase

getKeyWrapAlgorithm

public URI getKeyWrapAlgorithm()
Specified by:
getKeyWrapAlgorithm in interface WSTrustElementBase

setDelegateTo

public final void setDelegateTo(DelegateTo delegateTo)
Specified by:
setDelegateTo in interface WSTrustElementBase

getDelegateTo

public DelegateTo getDelegateTo()
Specified by:
getDelegateTo in interface WSTrustElementBase

setForwardable

public final void setForwardable(boolean flag)
Specified by:
setForwardable in interface WSTrustElementBase

getForwardable

public boolean getForwardable()
Specified by:
getForwardable in interface WSTrustElementBase

setDelegatable

public final void setDelegatable(boolean flag)
Specified by:
setDelegatable in interface WSTrustElementBase

getDelegatable

public boolean getDelegatable()
Specified by:
getDelegatable in interface WSTrustElementBase

setPolicy

public final void setPolicy(com.sun.xml.ws.policy.Policy policy)
Specified by:
setPolicy in interface WSTrustElementBase

getPolicy

public com.sun.xml.ws.policy.Policy getPolicy()
Specified by:
getPolicy in interface WSTrustElementBase

setPolicyReference

public final void setPolicyReference(PolicyReference policyRef)
Specified by:
setPolicyReference in interface WSTrustElementBase

getPolicyReference

public PolicyReference getPolicyReference()
Specified by:
getPolicyReference in interface WSTrustElementBase

getAllowPostdating

public AllowPostdating getAllowPostdating()
Specified by:
getAllowPostdating in interface WSTrustElementBase

setAllowPostdating

public final void setAllowPostdating(AllowPostdating allowPostdating)
Specified by:
setAllowPostdating in interface WSTrustElementBase

getExtensionElements

public List<Object> getExtensionElements()
Specified by:
getExtensionElements in interface RequestSecurityToken


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.