|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
com.sun.xml.ws.security.trust.impl.wssx.elements.RequestSecurityTokenResponseImpl
public class RequestSecurityTokenResponseImpl
Implementation of a RequestSecurityTokenResponse.
Field Summary |
---|
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType |
---|
any, context |
Constructor Summary | |
---|---|
RequestSecurityTokenResponseImpl()
|
|
RequestSecurityTokenResponseImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType rstrType)
|
|
RequestSecurityTokenResponseImpl(java.net.URI tokenType,
java.net.URI context,
RequestedSecurityToken token,
com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes,
RequestedAttachedReference attached,
RequestedUnattachedReference unattached,
RequestedProofToken proofToken,
Entropy entropy,
Lifetime lifetime,
Status status)
|
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. |
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
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 |
Authenticator |
getAuthenticator()
get Authenticator 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 |
java.net.URI |
getComputedKeyAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise |
java.lang.String |
getContext()
Gets the value of the context property. |
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 |
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()
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 |
RequestedAttachedReference |
getRequestedAttachedReference()
Get the requestedAttachedReference. |
RequestedProofToken |
getRequestedProofToken()
Get the requestedProofToken |
RequestedSecurityToken |
getRequestedSecurityToken()
Get the requested Security Token |
RequestedTokenCancelled |
getRequestedTokenCancelled()
|
RequestedUnattachedReference |
getRequestedUnattachedReference()
Get the requestedUnattachedReference. |
java.net.URI |
getSignatureAlgorithm()
get SignatureAlgorithm value if set, return default otherwise |
SignChallenge |
getSignChallenge()
get SignChallenge element if any, null otherwise |
SignChallengeResponse |
getSignChallengeResponse()
get SignChallengeResponse element if any, null otherwise |
java.net.URI |
getSignWith()
Get the Signature Algorithm to be used with the token if set, null otherwise |
Status |
getStatus()
|
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 |
setAuthenticator(Authenticator authenticator)
set an Authenticator |
void |
setBinaryExchange(BinaryExchange exchange)
set a BinaryExchange |
void |
setCanonicalizationAlgorithm(java.net.URI algorithm)
set CanonicalizationAlgorithm |
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 |
setRequestedAttachedReference(RequestedAttachedReference reference)
Set the requestedAttachedReference on the security token response |
void |
setRequestedProofToken(RequestedProofToken proofToken)
Set the requestedProofToken on the security token response |
void |
setRequestedSecurityToken(RequestedSecurityToken securityToken)
Set the requestedSecurityToken on the security token response |
void |
setRequestedTokenCancelled(RequestedTokenCancelled rtc)
|
void |
setRequestedUnattachedReference(RequestedUnattachedReference reference)
Set the requestedUnattachedReference on the security token response |
void |
setSignatureAlgorithm(java.net.URI algorithm)
set SignatureAlgorithm |
void |
setSignChallenge(SignChallenge challenge)
Set a SignChallenge |
void |
setSignChallengeResponse(SignChallengeResponse challenge)
set a SignChallengeResponse |
void |
setSignWith(java.net.URI algorithm)
Set the Signature Algorithm to be used with the issued token |
void |
setStatus(Status status)
|
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.RequestSecurityTokenResponseType |
---|
setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestSecurityTokenResponseImpl()
public RequestSecurityTokenResponseImpl(java.net.URI tokenType, java.net.URI context, RequestedSecurityToken token, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime, Status status)
public RequestSecurityTokenResponseImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType rstrType) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.net.URI getTokenType()
WSTrustElementBase
getTokenType
in interface WSTrustElementBase
URI
public void setTokenType(java.net.URI tokenType)
WSTrustElementBase
setTokenType
in interface WSTrustElementBase
tokenType
- URI
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
RequestSecurityTokenResponse
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.
getOtherAttributes
in interface RequestSecurityTokenResponse
getOtherAttributes
in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
public Lifetime getLifetime()
WSTrustElementBase
getLifetime
in interface WSTrustElementBase
public void setLifetime(Lifetime lifetime)
WSTrustElementBase
setLifetime
in interface WSTrustElementBase
public RequestedTokenCancelled getRequestedTokenCancelled()
getRequestedTokenCancelled
in interface RequestSecurityTokenResponse
public void setRequestedTokenCancelled(RequestedTokenCancelled rtc)
setRequestedTokenCancelled
in interface RequestSecurityTokenResponse
public Status getStatus()
getStatus
in interface RequestSecurityTokenResponse
public void setStatus(Status status)
setStatus
in interface RequestSecurityTokenResponse
public Entropy getEntropy()
WSTrustElementBase
getEntropy
in interface WSTrustElementBase
Entropy
public void setEntropy(Entropy entropy)
WSTrustElementBase
setEntropy
in interface WSTrustElementBase
entropy
- Entropy
public java.util.List<java.lang.Object> getAny()
RequestSecurityTokenResponse
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
Element
Object
getAny
in interface RequestSecurityTokenResponse
getAny
in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
public java.lang.String getContext()
RequestSecurityTokenResponse
getContext
in interface RequestSecurityTokenResponse
getContext
in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
String
public void setAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
WSTrustElementBase
setAppliesTo
in interface WSTrustElementBase
appliesTo
- AppliesTo
public com.sun.xml.ws.policy.impl.bindings.AppliesTo getAppliesTo()
WSTrustElementBase
getAppliesTo
in interface WSTrustElementBase
AppliesTo
public void setOnBehalfOf(OnBehalfOf onBehalfOf)
WSTrustElementBase
setOnBehalfOf
in interface WSTrustElementBase
public OnBehalfOf getOnBehalfOf()
WSTrustElementBase
getOnBehalfOf
in interface WSTrustElementBase
OnBehalfOf
public void setIssuer(Issuer issuer)
WSTrustElementBase
setIssuer
in interface WSTrustElementBase
public Issuer getIssuer()
WSTrustElementBase
getIssuer
in interface WSTrustElementBase
public void setRenewable(Renewing renew)
WSTrustElementBase
setRenewable
in interface WSTrustElementBase
public Renewing getRenewable()
WSTrustElementBase
getRenewable
in interface WSTrustElementBase
public void setSignChallenge(SignChallenge challenge)
WSTrustElementBase
setSignChallenge
in interface WSTrustElementBase
public SignChallenge getSignChallenge()
WSTrustElementBase
getSignChallenge
in interface WSTrustElementBase
public void setBinaryExchange(BinaryExchange exchange)
WSTrustElementBase
setBinaryExchange
in interface WSTrustElementBase
public BinaryExchange getBinaryExchange()
WSTrustElementBase
getBinaryExchange
in interface WSTrustElementBase
public void setAuthenticationType(java.net.URI uri)
WSTrustElementBase
setAuthenticationType
in interface WSTrustElementBase
public java.net.URI getAuthenticationType()
WSTrustElementBase
getAuthenticationType
in interface WSTrustElementBase
public void setKeyType(java.net.URI keytype) throws WSTrustException
WSTrustElementBase
setKeyType
in interface WSTrustElementBase
WSTrustException
public java.net.URI getKeyType()
WSTrustElementBase
getKeyType
in interface WSTrustElementBase
public void setKeySize(long size)
WSTrustElementBase
setKeySize
in interface WSTrustElementBase
public long getKeySize()
WSTrustElementBase
getKeySize
in interface WSTrustElementBase
public void setSignatureAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setSignatureAlgorithm
in interface WSTrustElementBase
public java.net.URI getSignatureAlgorithm()
WSTrustElementBase
getSignatureAlgorithm
in interface WSTrustElementBase
public void setEncryptionAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setEncryptionAlgorithm
in interface WSTrustElementBase
public java.net.URI getEncryptionAlgorithm()
WSTrustElementBase
getEncryptionAlgorithm
in interface WSTrustElementBase
public void setCanonicalizationAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setCanonicalizationAlgorithm
in interface WSTrustElementBase
public java.net.URI getCanonicalizationAlgorithm()
WSTrustElementBase
getCanonicalizationAlgorithm
in interface WSTrustElementBase
public void setUseKey(UseKey useKey)
WSTrustElementBase
setUseKey
in interface WSTrustElementBase
public UseKey getUseKey()
WSTrustElementBase
getUseKey
in interface WSTrustElementBase
public void setProofEncryption(ProofEncryption proofEncryption)
WSTrustElementBase
setProofEncryption
in interface WSTrustElementBase
public ProofEncryption getProofEncryption()
WSTrustElementBase
getProofEncryption
in interface WSTrustElementBase
public void setComputedKeyAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setComputedKeyAlgorithm
in interface WSTrustElementBase
public java.net.URI getComputedKeyAlgorithm()
WSTrustElementBase
getComputedKeyAlgorithm
in interface WSTrustElementBase
public void setEncryption(Encryption enc)
WSTrustElementBase
setEncryption
in interface WSTrustElementBase
public Encryption getEncryption()
WSTrustElementBase
getEncryption
in interface WSTrustElementBase
public void setSignWith(java.net.URI algorithm)
WSTrustElementBase
setSignWith
in interface WSTrustElementBase
public java.net.URI getSignWith()
WSTrustElementBase
getSignWith
in interface WSTrustElementBase
public void setEncryptWith(java.net.URI algorithm)
WSTrustElementBase
setEncryptWith
in interface WSTrustElementBase
public java.net.URI getEncryptWith()
WSTrustElementBase
getEncryptWith
in interface WSTrustElementBase
public void setKeyWrapAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setKeyWrapAlgorithm
in interface WSTrustElementBase
public java.net.URI getKeyWrapAlgorithm()
WSTrustElementBase
getKeyWrapAlgorithm
in interface WSTrustElementBase
public void setDelegateTo(DelegateTo to)
WSTrustElementBase
setDelegateTo
in interface WSTrustElementBase
public DelegateTo getDelegateTo()
WSTrustElementBase
getDelegateTo
in interface WSTrustElementBase
public void setForwardable(boolean flag)
WSTrustElementBase
setForwardable
in interface WSTrustElementBase
public boolean getForwardable()
WSTrustElementBase
getForwardable
in interface WSTrustElementBase
public void setDelegatable(boolean flag)
WSTrustElementBase
setDelegatable
in interface WSTrustElementBase
public boolean getDelegatable()
WSTrustElementBase
getDelegatable
in interface WSTrustElementBase
public void setPolicy(com.sun.xml.ws.policy.Policy policy)
WSTrustElementBase
setPolicy
in interface WSTrustElementBase
public com.sun.xml.ws.policy.Policy getPolicy()
WSTrustElementBase
getPolicy
in interface WSTrustElementBase
public void setPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
WSTrustElementBase
setPolicyReference
in interface WSTrustElementBase
public com.sun.xml.ws.policy.impl.bindings.PolicyReference getPolicyReference()
WSTrustElementBase
getPolicyReference
in interface WSTrustElementBase
public AllowPostdating getAllowPostdating()
WSTrustElementBase
getAllowPostdating
in interface WSTrustElementBase
public void setAllowPostdating(AllowPostdating allowPostdating)
WSTrustElementBase
setAllowPostdating
in interface WSTrustElementBase
public void setSignChallengeResponse(SignChallengeResponse challenge)
RequestSecurityTokenResponse
setSignChallengeResponse
in interface RequestSecurityTokenResponse
public SignChallengeResponse getSignChallengeResponse()
RequestSecurityTokenResponse
getSignChallengeResponse
in interface RequestSecurityTokenResponse
public void setAuthenticator(Authenticator authenticator)
RequestSecurityTokenResponse
setAuthenticator
in interface RequestSecurityTokenResponse
public Authenticator getAuthenticator()
RequestSecurityTokenResponse
getAuthenticator
in interface RequestSecurityTokenResponse
public void setRequestedProofToken(RequestedProofToken proofToken)
RequestSecurityTokenResponse
setRequestedProofToken
in interface RequestSecurityTokenResponse
public RequestedProofToken getRequestedProofToken()
RequestSecurityTokenResponse
getRequestedProofToken
in interface RequestSecurityTokenResponse
public void setRequestedSecurityToken(RequestedSecurityToken securityToken)
RequestSecurityTokenResponse
setRequestedSecurityToken
in interface RequestSecurityTokenResponse
public RequestedSecurityToken getRequestedSecurityToken()
RequestSecurityTokenResponse
getRequestedSecurityToken
in interface RequestSecurityTokenResponse
public void setRequestedAttachedReference(RequestedAttachedReference reference)
RequestSecurityTokenResponse
setRequestedAttachedReference
in interface RequestSecurityTokenResponse
public RequestedAttachedReference getRequestedAttachedReference()
RequestSecurityTokenResponse
getRequestedAttachedReference
in interface RequestSecurityTokenResponse
public void setRequestedUnattachedReference(RequestedUnattachedReference reference)
RequestSecurityTokenResponse
setRequestedUnattachedReference
in interface RequestSecurityTokenResponse
public RequestedUnattachedReference getRequestedUnattachedReference()
RequestSecurityTokenResponse
getRequestedUnattachedReference
in interface RequestSecurityTokenResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |