Class RequestSecurityTokenResponseImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
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
ConstructorsConstructorDescriptionRequestSecurityTokenResponseImpl(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime, Status status) -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.Gets the value of the context property.booleanbooleanlongGets a map that contains attributes that aren't bound to any typed property on this class.com.sun.xml.ws.policy.PolicyvoidsetAllowPostdating(AllowPostdating allowPostdating) voidsetAppliesTo(AppliesTo appliesTo) voidsetAuthenticationType(URI uri) voidsetAuthenticator(Authenticator authenticator) voidsetBinaryExchange(BinaryExchange exchange) voidsetCanonicalizationAlgorithm(URI algorithm) voidsetComputedKeyAlgorithm(URI algorithm) voidsetDelegatable(boolean flag) voidvoidsetEncryption(Encryption enc) voidsetEncryptionAlgorithm(URI algorithm) voidsetEncryptWith(URI algorithm) voidsetEntropy(Entropy entropy) voidsetForwardable(boolean flag) voidvoidsetKeySize(long size) voidsetKeyType(URI keytype) voidsetKeyWrapAlgorithm(URI algorithm) voidsetLifetime(Lifetime lifetime) voidsetOnBehalfOf(OnBehalfOf onBehalfOf) voidsetPolicy(com.sun.xml.ws.policy.Policy policy) voidsetPolicyReference(PolicyReference policyRef) voidsetProofEncryption(ProofEncryption proofEncryption) voidsetRenewable(Renewing renew) voidvoidsetRequestedProofToken(RequestedProofToken proofToken) voidsetRequestedSecurityToken(RequestedSecurityToken securityToken) voidvoidvoidsetSignatureAlgorithm(URI algorithm) voidsetSignChallenge(SignChallenge challenge) voidsetSignChallengeResponse(SignChallengeResponse challenge) voidsetSignWith(URI algorithm) voidvoidsetTokenType(URI tokenType) voidMethods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
setContext
-
Constructor Details
-
RequestSecurityTokenResponseImpl
public RequestSecurityTokenResponseImpl() -
RequestSecurityTokenResponseImpl
public RequestSecurityTokenResponseImpl(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime, Status status) -
RequestSecurityTokenResponseImpl
- Throws:
Exception
-
-
Method Details
-
getTokenType
- Specified by:
getTokenTypein interfaceWSTrustElementBase
-
setTokenType
- Specified by:
setTokenTypein interfaceWSTrustElementBase
-
getOtherAttributes
Description copied from class:RequestSecurityTokenResponseTypeGets 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:
getOtherAttributesin interfaceRequestSecurityTokenResponse- Overrides:
getOtherAttributesin classRequestSecurityTokenResponseType- Returns:
- always non-null
-
getLifetime
- Specified by:
getLifetimein interfaceWSTrustElementBase
-
setLifetime
- Specified by:
setLifetimein interfaceWSTrustElementBase
-
getRequestedTokenCancelled
- Specified by:
getRequestedTokenCancelledin interfaceRequestSecurityTokenResponse
-
setRequestedTokenCancelled
- Specified by:
setRequestedTokenCancelledin interfaceRequestSecurityTokenResponse
-
getStatus
- Specified by:
getStatusin interfaceRequestSecurityTokenResponse
-
setStatus
- Specified by:
setStatusin interfaceRequestSecurityTokenResponse
-
getEntropy
- Specified by:
getEntropyin interfaceWSTrustElementBase
-
setEntropy
- Specified by:
setEntropyin interfaceWSTrustElementBase
-
getAny
Description copied from class:RequestSecurityTokenResponseTypeGets 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
setmethod 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
ObjectElement- Specified by:
getAnyin interfaceRequestSecurityTokenResponse- Overrides:
getAnyin classRequestSecurityTokenResponseType
-
getContext
Description copied from class:RequestSecurityTokenResponseTypeGets the value of the context property.- Specified by:
getContextin interfaceRequestSecurityTokenResponse- Overrides:
getContextin classRequestSecurityTokenResponseType- Returns:
- possible object is
String
-
setAppliesTo
- Specified by:
setAppliesToin interfaceWSTrustElementBase
-
getAppliesTo
- Specified by:
getAppliesToin interfaceWSTrustElementBase
-
setOnBehalfOf
- Specified by:
setOnBehalfOfin interfaceWSTrustElementBase
-
getOnBehalfOf
- Specified by:
getOnBehalfOfin interfaceWSTrustElementBase
-
setIssuer
- Specified by:
setIssuerin interfaceWSTrustElementBase
-
getIssuer
- Specified by:
getIssuerin interfaceWSTrustElementBase
-
setRenewable
- Specified by:
setRenewablein interfaceWSTrustElementBase
-
getRenewable
- Specified by:
getRenewablein interfaceWSTrustElementBase
-
setSignChallenge
- Specified by:
setSignChallengein interfaceWSTrustElementBase
-
getSignChallenge
- Specified by:
getSignChallengein interfaceWSTrustElementBase
-
setBinaryExchange
- Specified by:
setBinaryExchangein interfaceWSTrustElementBase
-
getBinaryExchange
- Specified by:
getBinaryExchangein interfaceWSTrustElementBase
-
setAuthenticationType
- Specified by:
setAuthenticationTypein interfaceWSTrustElementBase
-
getAuthenticationType
- Specified by:
getAuthenticationTypein interfaceWSTrustElementBase
-
setKeyType
- Specified by:
setKeyTypein interfaceWSTrustElementBase- Throws:
WSTrustException
-
getKeyType
- Specified by:
getKeyTypein interfaceWSTrustElementBase
-
setKeySize
public void setKeySize(long size) - Specified by:
setKeySizein interfaceWSTrustElementBase
-
getKeySize
public long getKeySize()- Specified by:
getKeySizein interfaceWSTrustElementBase
-
setSignatureAlgorithm
- Specified by:
setSignatureAlgorithmin interfaceWSTrustElementBase
-
getSignatureAlgorithm
- Specified by:
getSignatureAlgorithmin interfaceWSTrustElementBase
-
setEncryptionAlgorithm
- Specified by:
setEncryptionAlgorithmin interfaceWSTrustElementBase
-
getEncryptionAlgorithm
- Specified by:
getEncryptionAlgorithmin interfaceWSTrustElementBase
-
setCanonicalizationAlgorithm
- Specified by:
setCanonicalizationAlgorithmin interfaceWSTrustElementBase
-
getCanonicalizationAlgorithm
- Specified by:
getCanonicalizationAlgorithmin interfaceWSTrustElementBase
-
setUseKey
- Specified by:
setUseKeyin interfaceWSTrustElementBase
-
getUseKey
- Specified by:
getUseKeyin interfaceWSTrustElementBase
-
setProofEncryption
- Specified by:
setProofEncryptionin interfaceWSTrustElementBase
-
getProofEncryption
- Specified by:
getProofEncryptionin interfaceWSTrustElementBase
-
setComputedKeyAlgorithm
- Specified by:
setComputedKeyAlgorithmin interfaceWSTrustElementBase
-
getComputedKeyAlgorithm
- Specified by:
getComputedKeyAlgorithmin interfaceWSTrustElementBase
-
setEncryption
- Specified by:
setEncryptionin interfaceWSTrustElementBase
-
getEncryption
- Specified by:
getEncryptionin interfaceWSTrustElementBase
-
setSignWith
- Specified by:
setSignWithin interfaceWSTrustElementBase
-
getSignWith
- Specified by:
getSignWithin interfaceWSTrustElementBase
-
setEncryptWith
- Specified by:
setEncryptWithin interfaceWSTrustElementBase
-
getEncryptWith
- Specified by:
getEncryptWithin interfaceWSTrustElementBase
-
setKeyWrapAlgorithm
- Specified by:
setKeyWrapAlgorithmin interfaceWSTrustElementBase
-
getKeyWrapAlgorithm
- Specified by:
getKeyWrapAlgorithmin interfaceWSTrustElementBase
-
setDelegateTo
- Specified by:
setDelegateToin interfaceWSTrustElementBase
-
getDelegateTo
- Specified by:
getDelegateToin interfaceWSTrustElementBase
-
setForwardable
public void setForwardable(boolean flag) - Specified by:
setForwardablein interfaceWSTrustElementBase
-
getForwardable
public boolean getForwardable()- Specified by:
getForwardablein interfaceWSTrustElementBase
-
setDelegatable
public void setDelegatable(boolean flag) - Specified by:
setDelegatablein interfaceWSTrustElementBase
-
getDelegatable
public boolean getDelegatable()- Specified by:
getDelegatablein interfaceWSTrustElementBase
-
setPolicy
public void setPolicy(com.sun.xml.ws.policy.Policy policy) - Specified by:
setPolicyin interfaceWSTrustElementBase
-
getPolicy
public com.sun.xml.ws.policy.Policy getPolicy()- Specified by:
getPolicyin interfaceWSTrustElementBase
-
setPolicyReference
- Specified by:
setPolicyReferencein interfaceWSTrustElementBase
-
getPolicyReference
- Specified by:
getPolicyReferencein interfaceWSTrustElementBase
-
getAllowPostdating
- Specified by:
getAllowPostdatingin interfaceWSTrustElementBase
-
setAllowPostdating
- Specified by:
setAllowPostdatingin interfaceWSTrustElementBase
-
setSignChallengeResponse
- Specified by:
setSignChallengeResponsein interfaceRequestSecurityTokenResponse
-
getSignChallengeResponse
- Specified by:
getSignChallengeResponsein interfaceRequestSecurityTokenResponse
-
setAuthenticator
- Specified by:
setAuthenticatorin interfaceRequestSecurityTokenResponse
-
getAuthenticator
- Specified by:
getAuthenticatorin interfaceRequestSecurityTokenResponse
-
setRequestedProofToken
- Specified by:
setRequestedProofTokenin interfaceRequestSecurityTokenResponse
-
getRequestedProofToken
- Specified by:
getRequestedProofTokenin interfaceRequestSecurityTokenResponse
-
setRequestedSecurityToken
- Specified by:
setRequestedSecurityTokenin interfaceRequestSecurityTokenResponse
-
getRequestedSecurityToken
- Specified by:
getRequestedSecurityTokenin interfaceRequestSecurityTokenResponse
-
setRequestedAttachedReference
- Specified by:
setRequestedAttachedReferencein interfaceRequestSecurityTokenResponse
-
getRequestedAttachedReference
- Specified by:
getRequestedAttachedReferencein interfaceRequestSecurityTokenResponse
-
setRequestedUnattachedReference
- Specified by:
setRequestedUnattachedReferencein interfaceRequestSecurityTokenResponse
-
getRequestedUnattachedReference
- Specified by:
getRequestedUnattachedReferencein interfaceRequestSecurityTokenResponse
-