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

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
      extended by com.sun.xml.ws.security.trust.impl.wssx.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.wssx.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()
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 AppliesTo getAppliesTo()
           
 java.net.URI getAuthenticationType()
           
 Authenticator getAuthenticator()
           
 BinaryExchange getBinaryExchange()
           
 java.net.URI getCanonicalizationAlgorithm()
           
 java.net.URI getComputedKeyAlgorithm()
           
 java.lang.String getContext()
          Gets the value of the context property.
 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()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 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.wssx.bindings.RequestSecurityTokenResponseType
setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTokenType

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

setTokenType

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

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Description copied from class: RequestSecurityTokenResponseType
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Specified by:
getOtherAttributes in interface RequestSecurityTokenResponse
Overrides:
getOtherAttributes in class RequestSecurityTokenResponseType
Returns:
always non-null

getLifetime

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

setLifetime

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

getRequestedTokenCancelled

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

setRequestedTokenCancelled

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

getStatus

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

setStatus

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

getEntropy

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

setEntropy

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

getAny

public java.util.List<java.lang.Object> getAny()
Description copied from class: RequestSecurityTokenResponseType
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element

Specified by:
getAny in interface RequestSecurityTokenResponse
Overrides:
getAny in class RequestSecurityTokenResponseType

getContext

public java.lang.String getContext()
Description copied from class: RequestSecurityTokenResponseType
Gets the value of the context property.

Specified by:
getContext in interface RequestSecurityTokenResponse
Overrides:
getContext in class RequestSecurityTokenResponseType
Returns:
possible object is String

setAppliesTo

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

getAppliesTo

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

setOnBehalfOf

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

getOnBehalfOf

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

setIssuer

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

getIssuer

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

setRenewable

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

getRenewable

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

setSignChallenge

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

getSignChallenge

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

setBinaryExchange

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

getBinaryExchange

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

setAuthenticationType

public 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 void setKeyType(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 void setKeySize(long size)
Specified by:
setKeySize in interface WSTrustElementBase

getKeySize

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

setSignatureAlgorithm

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

getSignatureAlgorithm

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

setEncryptionAlgorithm

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

getEncryptionAlgorithm

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

setCanonicalizationAlgorithm

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

getCanonicalizationAlgorithm

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

setUseKey

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

getUseKey

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

setProofEncryption

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

getProofEncryption

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

setComputedKeyAlgorithm

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

getComputedKeyAlgorithm

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

setEncryption

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

getEncryption

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

setSignWith

public 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 void setEncryptWith(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 void setDelegateTo(DelegateTo to)
Specified by:
setDelegateTo in interface WSTrustElementBase

getDelegateTo

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

setForwardable

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

getForwardable

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

setDelegatable

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

getDelegatable

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

setPolicy

public 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 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 void setAllowPostdating(AllowPostdating allowPostdating)
Specified by:
setAllowPostdating in interface WSTrustElementBase

setSignChallengeResponse

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

getSignChallengeResponse

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

setAuthenticator

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

getAuthenticator

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

setRequestedProofToken

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

getRequestedProofToken

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

setRequestedSecurityToken

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

getRequestedSecurityToken

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

setRequestedAttachedReference

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

getRequestedAttachedReference

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

setRequestedUnattachedReference

public 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.