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

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenResponseType
      extended by com.sun.xml.ws.security.trust.impl.elements.RequestSecurityTokenResponseImpl
All Implemented Interfaces:
BaseSTSResponse, RequestSecurityTokenResponse, WSTrustElementBase

public class RequestSecurityTokenResponseImpl
extends RequestSecurityTokenResponseType
implements RequestSecurityTokenResponse

Implementation of a RequestSecurityTokenResponse.

Author:
Manveen Kaur

Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenResponseType
any, context
 
Constructor Summary
RequestSecurityTokenResponseImpl()
           
RequestSecurityTokenResponseImpl(RequestSecurityTokenResponseType rstrType)
           
RequestSecurityTokenResponseImpl(java.net.URI tokenType, java.net.URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime, Status status)
           
 
Method Summary
 AllowPostdating getAllowPostdating()
           
 AppliesTo getAppliesTo()
           
 java.net.URI getAuthenticationType()
           
 Authenticator getAuthenticator()
           
 BinaryExchange getBinaryExchange()
           
 java.net.URI getCanonicalizationAlgorithm()
           
 java.net.URI getComputedKeyAlgorithm()
           
 boolean getDelegatable()
           
 DelegateTo getDelegateTo()
           
 Encryption getEncryption()
           
 java.net.URI getEncryptionAlgorithm()
           
 java.net.URI getEncryptWith()
           
 Entropy getEntropy()
           
 boolean getForwardable()
           
 Issuer getIssuer()
           
 long getKeySize()
           
 java.net.URI getKeyType()
           
 java.net.URI getKeyWrapAlgorithm()
           
 Lifetime getLifetime()
           
 OnBehalfOf getOnBehalfOf()
           
 com.sun.xml.ws.policy.Policy getPolicy()
           
 PolicyReference getPolicyReference()
           
 ProofEncryption getProofEncryption()
           
 Renewing getRenewable()
           
 RequestedAttachedReference getRequestedAttachedReference()
           
 RequestedProofToken getRequestedProofToken()
           
 RequestedSecurityToken getRequestedSecurityToken()
           
 RequestedTokenCancelled getRequestedTokenCancelled()
           
 RequestedUnattachedReference getRequestedUnattachedReference()
           
 java.net.URI getSignatureAlgorithm()
           
 SignChallenge getSignChallenge()
           
 SignChallengeResponse getSignChallengeResponse()
           
 java.net.URI getSignWith()
           
 Status getStatus()
           
 java.net.URI getTokenType()
           
 UseKey getUseKey()
           
 void setAllowPostdating(AllowPostdating allowPostdating)
           
 void setAppliesTo(AppliesTo appliesTo)
           
 void setAuthenticationType(java.net.URI uri)
           
 void setAuthenticator(Authenticator authenticator)
           
 void setBinaryExchange(BinaryExchange exchange)
           
 void setCanonicalizationAlgorithm(java.net.URI algorithm)
           
 void setComputedKeyAlgorithm(java.net.URI algorithm)
           
 void setDelegatable(boolean flag)
           
 void setDelegateTo(DelegateTo to)
           
 void setEncryption(Encryption enc)
           
 void setEncryptionAlgorithm(java.net.URI algorithm)
           
 void setEncryptWith(java.net.URI algorithm)
           
 void setEntropy(Entropy entropy)
           
 void setForwardable(boolean flag)
           
 void setIssuer(Issuer issuer)
           
 void setKeySize(long size)
           
 void setKeyType(java.net.URI keytype)
           
 void setKeyWrapAlgorithm(java.net.URI algorithm)
           
 void setLifetime(Lifetime lifetime)
           
 void setOnBehalfOf(OnBehalfOf onBehalfOf)
           
 void setPolicy(com.sun.xml.ws.policy.Policy policy)
           
 void setPolicyReference(PolicyReference policyRef)
           
 void setProofEncryption(ProofEncryption proofEncryption)
           
 void setRenewable(Renewing renew)
           
 void setRequestedAttachedReference(RequestedAttachedReference reference)
           
 void setRequestedProofToken(RequestedProofToken proofToken)
           
 void setRequestedSecurityToken(RequestedSecurityToken securityToken)
           
 void setRequestedTokenCancelled(RequestedTokenCancelled rtc)
           
 void setRequestedUnattachedReference(RequestedUnattachedReference reference)
           
 void setSignatureAlgorithm(java.net.URI algorithm)
           
 void setSignChallenge(SignChallenge challenge)
           
 void setSignChallengeResponse(SignChallengeResponse challenge)
           
 void setSignWith(java.net.URI algorithm)
           
 void setStatus(Status status)
           
 void setTokenType(java.net.URI tokenType)
           
 void setUseKey(UseKey useKey)
           
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestSecurityTokenResponseType
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.RequestSecurityTokenResponse
getAny, getContext, getOtherAttributes
 

Constructor Detail

RequestSecurityTokenResponseImpl

public RequestSecurityTokenResponseImpl()

RequestSecurityTokenResponseImpl

public RequestSecurityTokenResponseImpl(java.net.URI tokenType,
                                        java.net.URI context,
                                        RequestedSecurityToken token,
                                        AppliesTo scopes,
                                        RequestedAttachedReference attached,
                                        RequestedUnattachedReference unattached,
                                        RequestedProofToken proofToken,
                                        Entropy entropy,
                                        Lifetime lifetime,
                                        Status status)

RequestSecurityTokenResponseImpl

public RequestSecurityTokenResponseImpl(RequestSecurityTokenResponseType rstrType)
                                 throws java.net.URISyntaxException,
                                        WSTrustException
Throws:
java.net.URISyntaxException
WSTrustException
Method Detail

getTokenType

public java.net.URI getTokenType()
Specified by:
getTokenType in interface WSTrustElementBase

setTokenType

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

getLifetime

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

setLifetime

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

getRequestedTokenCancelled

public RequestedTokenCancelled getRequestedTokenCancelled()
Specified by:
getRequestedTokenCancelled in interface RequestSecurityTokenResponse

setRequestedTokenCancelled

public final void setRequestedTokenCancelled(RequestedTokenCancelled rtc)
Specified by:
setRequestedTokenCancelled in interface RequestSecurityTokenResponse

getStatus

public Status getStatus()
Specified by:
getStatus in interface RequestSecurityTokenResponse

setStatus

public final void setStatus(Status status)
Specified by:
setStatus in interface RequestSecurityTokenResponse

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

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(java.net.URI uri)
Specified by:
setAuthenticationType in interface WSTrustElementBase

getAuthenticationType

public java.net.URI getAuthenticationType()
Specified by:
getAuthenticationType in interface WSTrustElementBase

setKeyType

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

getKeyType

public java.net.URI getKeyType()
Specified by:
getKeyType in interface WSTrustElementBase

setKeySize

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

getKeySize

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

setSignatureAlgorithm

public final void setSignatureAlgorithm(@NotNull
                                        java.net.URI algorithm)
Specified by:
setSignatureAlgorithm in interface WSTrustElementBase

getSignatureAlgorithm

public java.net.URI getSignatureAlgorithm()
Specified by:
getSignatureAlgorithm in interface WSTrustElementBase

setEncryptionAlgorithm

public final void setEncryptionAlgorithm(@NotNull
                                         java.net.URI algorithm)
Specified by:
setEncryptionAlgorithm in interface WSTrustElementBase

getEncryptionAlgorithm

public java.net.URI getEncryptionAlgorithm()
Specified by:
getEncryptionAlgorithm in interface WSTrustElementBase

setCanonicalizationAlgorithm

public final void setCanonicalizationAlgorithm(@NotNull
                                               java.net.URI algorithm)
Specified by:
setCanonicalizationAlgorithm in interface WSTrustElementBase

getCanonicalizationAlgorithm

public java.net.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
                                          java.net.URI algorithm)
Specified by:
setComputedKeyAlgorithm in interface WSTrustElementBase

getComputedKeyAlgorithm

public java.net.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(java.net.URI algorithm)
Specified by:
setSignWith in interface WSTrustElementBase

getSignWith

public java.net.URI getSignWith()
Specified by:
getSignWith in interface WSTrustElementBase

setEncryptWith

public final void setEncryptWith(@NotNull
                                 java.net.URI algorithm)
Specified by:
setEncryptWith in interface WSTrustElementBase

getEncryptWith

public java.net.URI getEncryptWith()
Specified by:
getEncryptWith in interface WSTrustElementBase

setKeyWrapAlgorithm

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

getKeyWrapAlgorithm

public java.net.URI getKeyWrapAlgorithm()
Specified by:
getKeyWrapAlgorithm in interface WSTrustElementBase

setDelegateTo

public final void setDelegateTo(DelegateTo to)
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

setSignChallengeResponse

public final void setSignChallengeResponse(SignChallengeResponse challenge)
Specified by:
setSignChallengeResponse in interface RequestSecurityTokenResponse

getSignChallengeResponse

public SignChallengeResponse getSignChallengeResponse()
Specified by:
getSignChallengeResponse in interface RequestSecurityTokenResponse

setAuthenticator

public final void setAuthenticator(Authenticator authenticator)
Specified by:
setAuthenticator in interface RequestSecurityTokenResponse

getAuthenticator

public Authenticator getAuthenticator()
Specified by:
getAuthenticator in interface RequestSecurityTokenResponse

setRequestedProofToken

public final void setRequestedProofToken(RequestedProofToken proofToken)
Specified by:
setRequestedProofToken in interface RequestSecurityTokenResponse

getRequestedProofToken

public RequestedProofToken getRequestedProofToken()
Specified by:
getRequestedProofToken in interface RequestSecurityTokenResponse

setRequestedSecurityToken

public final void setRequestedSecurityToken(RequestedSecurityToken securityToken)
Specified by:
setRequestedSecurityToken in interface RequestSecurityTokenResponse

getRequestedSecurityToken

public RequestedSecurityToken getRequestedSecurityToken()
Specified by:
getRequestedSecurityToken in interface RequestSecurityTokenResponse

setRequestedAttachedReference

public final void setRequestedAttachedReference(RequestedAttachedReference reference)
Specified by:
setRequestedAttachedReference in interface RequestSecurityTokenResponse

getRequestedAttachedReference

public RequestedAttachedReference getRequestedAttachedReference()
Specified by:
getRequestedAttachedReference in interface RequestSecurityTokenResponse

setRequestedUnattachedReference

public final void setRequestedUnattachedReference(RequestedUnattachedReference reference)
Specified by:
setRequestedUnattachedReference in interface RequestSecurityTokenResponse

getRequestedUnattachedReference

public RequestedUnattachedReference getRequestedUnattachedReference()
Specified by:
getRequestedUnattachedReference in interface RequestSecurityTokenResponse


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