com.sun.xml.ws.security.trust.impl.wssx.elements
Class SecondaryParametersImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.SecondaryParametersImpl
All Implemented Interfaces:
SecondaryParameters, WSTrustElementBase

public class SecondaryParametersImpl
extends com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
implements SecondaryParameters

Implementation of the SecondaryParameters interface.


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
any
 
Constructor Summary
SecondaryParametersImpl()
           
SecondaryParametersImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType spType)
           
 
Method Summary
 AllowPostdating getAllowPostdating()
          Get the AllowPostdating element for the token if specified, null otherwise NOTE: Although this is an issue with the WSTrust spec, leaving it here for now.
 com.sun.xml.ws.policy.impl.bindings.AppliesTo getAppliesTo()
          Get the desired AppliesTo policy settings for the token if specified, null otherwise
 java.net.URI getAuthenticationType()
          get Authentication Type parameter if set, null otherwise
 BinaryExchange getBinaryExchange()
          get BinaryExchange element if any, null otherwise
 java.net.URI getCanonicalizationAlgorithm()
          get CanonicalizationAlgorithm value if set, return default otherwise
 Claims getClaims()
          Get the desired claims settings for the token if specified, null otherwise
 java.net.URI getComputedKeyAlgorithm()
          get CanonicalizationAlgorithm value if set, return default otherwise
 boolean getDelegatable()
          Get the value of the Delegatable flag NOTE: default value of this flag is false
 DelegateTo getDelegateTo()
          get the DelegateTo value if set, null otherwise
 Encryption getEncryption()
          get Encryption value if set, return null otherwise
 java.net.URI getEncryptionAlgorithm()
          get EncryptionAlgorithm value if set, return default otherwise
 java.net.URI getEncryptWith()
          Get the Encryption Algorithm to be used with the token if set, null otherwise
 Entropy getEntropy()
          Get the entropy for the requested token
 boolean getForwardable()
          Get the value of the Forwardable flag NOTE: default value of this flag is true
 Issuer getIssuer()
          get Issuer of the SecurityToken Presented in the Message, null otherwise
 long getKeySize()
          get the KeySize parameter if specified, 0 otherwise
 java.net.URI getKeyType()
          get KeyType Parameter if set, null otherwise
 java.net.URI getKeyWrapAlgorithm()
          get KeyWrapAlgorithm value if set, return default otherwise
 Lifetime getLifetime()
          Get the desired LifeTime settings for the token if specified, null otherwise
 OnBehalfOf getOnBehalfOf()
          Get the value of OnBehalfOf for the token if specified, null otherwise
 com.sun.xml.ws.policy.Policy getPolicy()
          Get the desired policy settings for the token if specified, null otherwise
 com.sun.xml.ws.policy.impl.bindings.PolicyReference getPolicyReference()
          Get the desired policyReference settings for the token if specified, null otherwise
 ProofEncryption getProofEncryption()
          Get the desired proofEncryption settings for the token if specified, null otherwise
 Renewing getRenewable()
          get the
 java.net.URI getSignatureAlgorithm()
          get SignatureAlgorithm value if set, return default otherwise
 SignChallenge getSignChallenge()
          get SignChallenge element if any, null otherwise
 java.net.URI getSignWith()
          Get the Signature Algorithm to be used with the token if set, null otherwise
 java.net.URI getTokenType()
          Get the type of security token, specified as a URI.
 UseKey getUseKey()
          Get the desired useKey settings for the token if specified, null otherwise
 void setAllowPostdating(AllowPostdating allowPostdating)
          Set the desired policyReference settings for the requested token
 void setAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
          Set the desired policy settings for the requested token
 void setAuthenticationType(java.net.URI uri)
          set AuthenticationType
 void setBinaryExchange(BinaryExchange exchange)
          set a BinaryExchange
 void setCanonicalizationAlgorithm(java.net.URI algorithm)
          set CanonicalizationAlgorithm
 void setClaims(Claims claims)
          Set the desired claims settings for the requested token
 void setComputedKeyAlgorithm(java.net.URI algorithm)
          set ComputedKeyAlgorithm
 void setDelegatable(boolean flag)
          Set if the requested token be delegatable
 void setDelegateTo(DelegateTo to)
          set the Delegate to which the issued token be delegated
 void setEncryption(Encryption enc)
          set Encryption
 void setEncryptionAlgorithm(java.net.URI algorithm)
          set EncryptionAlgorithm
 void setEncryptWith(java.net.URI algorithm)
          Set the Encryption Algorithm to be used with the issued token
 void setEntropy(Entropy entropy)
          Set the entropy for the requested token
 void setForwardable(boolean flag)
          Set if the requested token be forwardable
 void setIssuer(Issuer issuer)
          set Issuer of the SecurityToken Presented in the message
 void setKeySize(long size)
          set the KeySize parameter
 void setKeyType(java.net.URI keytype)
          set KeyType parameter
 void setKeyWrapAlgorithm(java.net.URI algorithm)
          set KeyWrapAlgorithm
 void setLifetime(Lifetime lifetime)
          Set the desired lifetime settings for the requested token
 void setOnBehalfOf(OnBehalfOf onBehalfOf)
          Set the value of OnBehalfOf for the requested token
 void setPolicy(com.sun.xml.ws.policy.Policy policy)
          Set the desired policy settings for the requested token
 void setPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
          Set the desired policyReference settings for the requested token
 void setProofEncryption(ProofEncryption proofEncryption)
          Set the desired proofEncryption settings for the requested token
 void setRenewable(Renewing renew)
          set a
 void setSignatureAlgorithm(java.net.URI algorithm)
          set SignatureAlgorithm
 void setSignChallenge(SignChallenge challenge)
          Set a SignChallenge
 void setSignWith(java.net.URI algorithm)
          Set the Signature Algorithm to be used with the issued token
 void setTokenType(java.net.URI tokenType)
          Set the type of security token, specified as a URI.
 void setUseKey(UseKey useKey)
          Set the desired useKey settings for the requested token
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
getAny
 
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.SecondaryParameters
getAny
 

Constructor Detail

SecondaryParametersImpl

public SecondaryParametersImpl()

SecondaryParametersImpl

public SecondaryParametersImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType spType)
                        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setClaims

public void setClaims(Claims claims)
Description copied from interface: SecondaryParameters
Set the desired claims settings for the requested token

Specified by:
setClaims in interface SecondaryParameters

getClaims

public Claims getClaims()
Description copied from interface: SecondaryParameters
Get the desired claims settings for the token if specified, null otherwise

Specified by:
getClaims in interface SecondaryParameters

getTokenType

public java.net.URI getTokenType()
Description copied from interface: WSTrustElementBase
Get the type of security token, specified as a URI.

Specified by:
getTokenType in interface WSTrustElementBase
Returns:
URI

setTokenType

public void setTokenType(java.net.URI tokenType)
Description copied from interface: WSTrustElementBase
Set the type of security token, specified as a URI.

Specified by:
setTokenType in interface WSTrustElementBase
Parameters:
tokenType - URI

getLifetime

public Lifetime getLifetime()
Description copied from interface: WSTrustElementBase
Get the desired LifeTime settings for the token if specified, null otherwise

Specified by:
getLifetime in interface WSTrustElementBase

setLifetime

public void setLifetime(Lifetime lifetime)
Description copied from interface: WSTrustElementBase
Set the desired lifetime settings for the requested token

Specified by:
setLifetime in interface WSTrustElementBase

getEntropy

public Entropy getEntropy()
Description copied from interface: WSTrustElementBase
Get the entropy for the requested token

Specified by:
getEntropy in interface WSTrustElementBase
Returns:
Entropy

setEntropy

public void setEntropy(Entropy entropy)
Description copied from interface: WSTrustElementBase
Set the entropy for the requested token

Specified by:
setEntropy in interface WSTrustElementBase
Parameters:
entropy - Entropy

setAppliesTo

public void setAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
Description copied from interface: WSTrustElementBase
Set the desired policy settings for the requested token

Specified by:
setAppliesTo in interface WSTrustElementBase
Parameters:
appliesTo - AppliesTo

getAppliesTo

public com.sun.xml.ws.policy.impl.bindings.AppliesTo getAppliesTo()
Description copied from interface: WSTrustElementBase
Get the desired AppliesTo policy settings for the token if specified, null otherwise

Specified by:
getAppliesTo in interface WSTrustElementBase
Returns:
AppliesTo

setOnBehalfOf

public void setOnBehalfOf(OnBehalfOf onBehalfOf)
Description copied from interface: WSTrustElementBase
Set the value of OnBehalfOf for the requested token

Specified by:
setOnBehalfOf in interface WSTrustElementBase

getOnBehalfOf

public OnBehalfOf getOnBehalfOf()
Description copied from interface: WSTrustElementBase
Get the value of OnBehalfOf for the token if specified, null otherwise

Specified by:
getOnBehalfOf in interface WSTrustElementBase
Returns:
OnBehalfOf

setIssuer

public void setIssuer(Issuer issuer)
Description copied from interface: WSTrustElementBase
set Issuer of the SecurityToken Presented in the message

Specified by:
setIssuer in interface WSTrustElementBase

getIssuer

public Issuer getIssuer()
Description copied from interface: WSTrustElementBase
get Issuer of the SecurityToken Presented in the Message, null otherwise

Specified by:
getIssuer in interface WSTrustElementBase

setRenewable

public void setRenewable(Renewing renew)
Description copied from interface: WSTrustElementBase
set a
Specified by:
setRenewable in interface WSTrustElementBase

getRenewable

public Renewing getRenewable()
Description copied from interface: WSTrustElementBase
get the
Specified by:
getRenewable in interface WSTrustElementBase

setSignChallenge

public void setSignChallenge(SignChallenge challenge)
Description copied from interface: WSTrustElementBase
Set a SignChallenge

Specified by:
setSignChallenge in interface WSTrustElementBase

getSignChallenge

public SignChallenge getSignChallenge()
Description copied from interface: WSTrustElementBase
get SignChallenge element if any, null otherwise

Specified by:
getSignChallenge in interface WSTrustElementBase

setBinaryExchange

public void setBinaryExchange(BinaryExchange exchange)
Description copied from interface: WSTrustElementBase
set a BinaryExchange

Specified by:
setBinaryExchange in interface WSTrustElementBase

getBinaryExchange

public BinaryExchange getBinaryExchange()
Description copied from interface: WSTrustElementBase
get BinaryExchange element if any, null otherwise

Specified by:
getBinaryExchange in interface WSTrustElementBase

setAuthenticationType

public void setAuthenticationType(java.net.URI uri)
Description copied from interface: WSTrustElementBase
set AuthenticationType

Specified by:
setAuthenticationType in interface WSTrustElementBase

getAuthenticationType

public java.net.URI getAuthenticationType()
Description copied from interface: WSTrustElementBase
get Authentication Type parameter if set, null otherwise

Specified by:
getAuthenticationType in interface WSTrustElementBase

setKeyType

public void setKeyType(java.net.URI keytype)
                throws WSTrustException
Description copied from interface: WSTrustElementBase
set KeyType parameter

Specified by:
setKeyType in interface WSTrustElementBase
Throws:
WSTrustException

getKeyType

public java.net.URI getKeyType()
Description copied from interface: WSTrustElementBase
get KeyType Parameter if set, null otherwise

Specified by:
getKeyType in interface WSTrustElementBase

setKeySize

public void setKeySize(long size)
Description copied from interface: WSTrustElementBase
set the KeySize parameter

Specified by:
setKeySize in interface WSTrustElementBase

getKeySize

public long getKeySize()
Description copied from interface: WSTrustElementBase
get the KeySize parameter if specified, 0 otherwise

Specified by:
getKeySize in interface WSTrustElementBase

setSignatureAlgorithm

public void setSignatureAlgorithm(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
set SignatureAlgorithm

Specified by:
setSignatureAlgorithm in interface WSTrustElementBase

getSignatureAlgorithm

public java.net.URI getSignatureAlgorithm()
Description copied from interface: WSTrustElementBase
get SignatureAlgorithm value if set, return default otherwise

Specified by:
getSignatureAlgorithm in interface WSTrustElementBase

setEncryptionAlgorithm

public void setEncryptionAlgorithm(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
set EncryptionAlgorithm

Specified by:
setEncryptionAlgorithm in interface WSTrustElementBase

getEncryptionAlgorithm

public java.net.URI getEncryptionAlgorithm()
Description copied from interface: WSTrustElementBase
get EncryptionAlgorithm value if set, return default otherwise

Specified by:
getEncryptionAlgorithm in interface WSTrustElementBase

setCanonicalizationAlgorithm

public void setCanonicalizationAlgorithm(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
set CanonicalizationAlgorithm

Specified by:
setCanonicalizationAlgorithm in interface WSTrustElementBase

getCanonicalizationAlgorithm

public java.net.URI getCanonicalizationAlgorithm()
Description copied from interface: WSTrustElementBase
get CanonicalizationAlgorithm value if set, return default otherwise

Specified by:
getCanonicalizationAlgorithm in interface WSTrustElementBase

setUseKey

public void setUseKey(UseKey useKey)
Description copied from interface: WSTrustElementBase
Set the desired useKey settings for the requested token

Specified by:
setUseKey in interface WSTrustElementBase

getUseKey

public UseKey getUseKey()
Description copied from interface: WSTrustElementBase
Get the desired useKey settings for the token if specified, null otherwise

Specified by:
getUseKey in interface WSTrustElementBase

setProofEncryption

public void setProofEncryption(ProofEncryption proofEncryption)
Description copied from interface: WSTrustElementBase
Set the desired proofEncryption settings for the requested token

Specified by:
setProofEncryption in interface WSTrustElementBase

getProofEncryption

public ProofEncryption getProofEncryption()
Description copied from interface: WSTrustElementBase
Get the desired proofEncryption settings for the token if specified, null otherwise

Specified by:
getProofEncryption in interface WSTrustElementBase

setComputedKeyAlgorithm

public void setComputedKeyAlgorithm(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
set ComputedKeyAlgorithm

Specified by:
setComputedKeyAlgorithm in interface WSTrustElementBase

getComputedKeyAlgorithm

public java.net.URI getComputedKeyAlgorithm()
Description copied from interface: WSTrustElementBase
get CanonicalizationAlgorithm value if set, return default otherwise

Specified by:
getComputedKeyAlgorithm in interface WSTrustElementBase

setEncryption

public void setEncryption(Encryption enc)
Description copied from interface: WSTrustElementBase
set Encryption

Specified by:
setEncryption in interface WSTrustElementBase

getEncryption

public Encryption getEncryption()
Description copied from interface: WSTrustElementBase
get Encryption value if set, return null otherwise

Specified by:
getEncryption in interface WSTrustElementBase

setSignWith

public void setSignWith(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
Set the Signature Algorithm to be used with the issued token

Specified by:
setSignWith in interface WSTrustElementBase

getSignWith

public java.net.URI getSignWith()
Description copied from interface: WSTrustElementBase
Get the Signature Algorithm to be used with the token if set, null otherwise

Specified by:
getSignWith in interface WSTrustElementBase

setEncryptWith

public void setEncryptWith(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
Set the Encryption Algorithm to be used with the issued token

Specified by:
setEncryptWith in interface WSTrustElementBase

getEncryptWith

public java.net.URI getEncryptWith()
Description copied from interface: WSTrustElementBase
Get the Encryption Algorithm to be used with the token if set, null otherwise

Specified by:
getEncryptWith in interface WSTrustElementBase

setKeyWrapAlgorithm

public void setKeyWrapAlgorithm(java.net.URI algorithm)
Description copied from interface: WSTrustElementBase
set KeyWrapAlgorithm

Specified by:
setKeyWrapAlgorithm in interface WSTrustElementBase

getKeyWrapAlgorithm

public java.net.URI getKeyWrapAlgorithm()
Description copied from interface: WSTrustElementBase
get KeyWrapAlgorithm value if set, return default otherwise

Specified by:
getKeyWrapAlgorithm in interface WSTrustElementBase

setDelegateTo

public void setDelegateTo(DelegateTo to)
Description copied from interface: WSTrustElementBase
set the Delegate to which the issued token be delegated

Specified by:
setDelegateTo in interface WSTrustElementBase

getDelegateTo

public DelegateTo getDelegateTo()
Description copied from interface: WSTrustElementBase
get the DelegateTo value if set, null otherwise

Specified by:
getDelegateTo in interface WSTrustElementBase

setForwardable

public void setForwardable(boolean flag)
Description copied from interface: WSTrustElementBase
Set if the requested token be forwardable

Specified by:
setForwardable in interface WSTrustElementBase

getForwardable

public boolean getForwardable()
Description copied from interface: WSTrustElementBase
Get the value of the Forwardable flag NOTE: default value of this flag is true

Specified by:
getForwardable in interface WSTrustElementBase

setDelegatable

public void setDelegatable(boolean flag)
Description copied from interface: WSTrustElementBase
Set if the requested token be delegatable

Specified by:
setDelegatable in interface WSTrustElementBase

getDelegatable

public boolean getDelegatable()
Description copied from interface: WSTrustElementBase
Get the value of the Delegatable flag NOTE: default value of this flag is false

Specified by:
getDelegatable in interface WSTrustElementBase

setPolicy

public void setPolicy(com.sun.xml.ws.policy.Policy policy)
Description copied from interface: WSTrustElementBase
Set the desired policy settings for the requested token

Specified by:
setPolicy in interface WSTrustElementBase

getPolicy

public com.sun.xml.ws.policy.Policy getPolicy()
Description copied from interface: WSTrustElementBase
Get the desired policy settings for the token if specified, null otherwise

Specified by:
getPolicy in interface WSTrustElementBase

setPolicyReference

public void setPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
Description copied from interface: WSTrustElementBase
Set the desired policyReference settings for the requested token

Specified by:
setPolicyReference in interface WSTrustElementBase

getPolicyReference

public com.sun.xml.ws.policy.impl.bindings.PolicyReference getPolicyReference()
Description copied from interface: WSTrustElementBase
Get the desired policyReference settings for the token if specified, null otherwise

Specified by:
getPolicyReference in interface WSTrustElementBase

getAllowPostdating

public AllowPostdating getAllowPostdating()
Description copied from interface: WSTrustElementBase
Get the AllowPostdating element for the token if specified, null otherwise NOTE: Although this is an issue with the WSTrust spec, leaving it here for now. This can be removed or modified later depending on the outcome of the issue.

Specified by:
getAllowPostdating in interface WSTrustElementBase

setAllowPostdating

public void setAllowPostdating(AllowPostdating allowPostdating)
Description copied from interface: WSTrustElementBase
Set the desired policyReference settings for the requested token

Specified by:
setAllowPostdating in interface WSTrustElementBase