|
||||||||||
| 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 WSTrustElementBaseURIpublic void setTokenType(java.net.URI tokenType)
WSTrustElementBase
setTokenType in interface WSTrustElementBasetokenType - URIpublic java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
RequestSecurityTokenResponsethe 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 RequestSecurityTokenResponsegetOtherAttributes in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseTypepublic Lifetime getLifetime()
WSTrustElementBase
getLifetime in interface WSTrustElementBasepublic void setLifetime(Lifetime lifetime)
WSTrustElementBase
setLifetime in interface WSTrustElementBasepublic RequestedTokenCancelled getRequestedTokenCancelled()
getRequestedTokenCancelled in interface RequestSecurityTokenResponsepublic void setRequestedTokenCancelled(RequestedTokenCancelled rtc)
setRequestedTokenCancelled in interface RequestSecurityTokenResponsepublic Status getStatus()
getStatus in interface RequestSecurityTokenResponsepublic void setStatus(Status status)
setStatus in interface RequestSecurityTokenResponsepublic Entropy getEntropy()
WSTrustElementBase
getEntropy in interface WSTrustElementBaseEntropypublic void setEntropy(Entropy entropy)
WSTrustElementBase
setEntropy in interface WSTrustElementBaseentropy - Entropypublic 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 RequestSecurityTokenResponsegetAny in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseTypepublic java.lang.String getContext()
RequestSecurityTokenResponse
getContext in interface RequestSecurityTokenResponsegetContext in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseTypeStringpublic void setAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
WSTrustElementBase
setAppliesTo in interface WSTrustElementBaseappliesTo - AppliesTopublic com.sun.xml.ws.policy.impl.bindings.AppliesTo getAppliesTo()
WSTrustElementBase
getAppliesTo in interface WSTrustElementBaseAppliesTopublic void setOnBehalfOf(OnBehalfOf onBehalfOf)
WSTrustElementBase
setOnBehalfOf in interface WSTrustElementBasepublic OnBehalfOf getOnBehalfOf()
WSTrustElementBase
getOnBehalfOf in interface WSTrustElementBaseOnBehalfOfpublic void setIssuer(Issuer issuer)
WSTrustElementBase
setIssuer in interface WSTrustElementBasepublic Issuer getIssuer()
WSTrustElementBase
getIssuer in interface WSTrustElementBasepublic void setRenewable(Renewing renew)
WSTrustElementBasesetRenewable in interface WSTrustElementBasepublic Renewing getRenewable()
WSTrustElementBasegetRenewable in interface WSTrustElementBasepublic void setSignChallenge(SignChallenge challenge)
WSTrustElementBase
setSignChallenge in interface WSTrustElementBasepublic SignChallenge getSignChallenge()
WSTrustElementBase
getSignChallenge in interface WSTrustElementBasepublic void setBinaryExchange(BinaryExchange exchange)
WSTrustElementBase
setBinaryExchange in interface WSTrustElementBasepublic BinaryExchange getBinaryExchange()
WSTrustElementBase
getBinaryExchange in interface WSTrustElementBasepublic void setAuthenticationType(java.net.URI uri)
WSTrustElementBase
setAuthenticationType in interface WSTrustElementBasepublic java.net.URI getAuthenticationType()
WSTrustElementBase
getAuthenticationType in interface WSTrustElementBase
public void setKeyType(java.net.URI keytype)
throws WSTrustException
WSTrustElementBase
setKeyType in interface WSTrustElementBaseWSTrustExceptionpublic java.net.URI getKeyType()
WSTrustElementBase
getKeyType in interface WSTrustElementBasepublic void setKeySize(long size)
WSTrustElementBase
setKeySize in interface WSTrustElementBasepublic long getKeySize()
WSTrustElementBase
getKeySize in interface WSTrustElementBasepublic void setSignatureAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setSignatureAlgorithm in interface WSTrustElementBasepublic java.net.URI getSignatureAlgorithm()
WSTrustElementBase
getSignatureAlgorithm in interface WSTrustElementBasepublic void setEncryptionAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setEncryptionAlgorithm in interface WSTrustElementBasepublic java.net.URI getEncryptionAlgorithm()
WSTrustElementBase
getEncryptionAlgorithm in interface WSTrustElementBasepublic void setCanonicalizationAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setCanonicalizationAlgorithm in interface WSTrustElementBasepublic java.net.URI getCanonicalizationAlgorithm()
WSTrustElementBase
getCanonicalizationAlgorithm in interface WSTrustElementBasepublic void setUseKey(UseKey useKey)
WSTrustElementBase
setUseKey in interface WSTrustElementBasepublic UseKey getUseKey()
WSTrustElementBase
getUseKey in interface WSTrustElementBasepublic void setProofEncryption(ProofEncryption proofEncryption)
WSTrustElementBase
setProofEncryption in interface WSTrustElementBasepublic ProofEncryption getProofEncryption()
WSTrustElementBase
getProofEncryption in interface WSTrustElementBasepublic void setComputedKeyAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setComputedKeyAlgorithm in interface WSTrustElementBasepublic java.net.URI getComputedKeyAlgorithm()
WSTrustElementBase
getComputedKeyAlgorithm in interface WSTrustElementBasepublic void setEncryption(Encryption enc)
WSTrustElementBase
setEncryption in interface WSTrustElementBasepublic Encryption getEncryption()
WSTrustElementBase
getEncryption in interface WSTrustElementBasepublic void setSignWith(java.net.URI algorithm)
WSTrustElementBase
setSignWith in interface WSTrustElementBasepublic java.net.URI getSignWith()
WSTrustElementBase
getSignWith in interface WSTrustElementBasepublic void setEncryptWith(java.net.URI algorithm)
WSTrustElementBase
setEncryptWith in interface WSTrustElementBasepublic java.net.URI getEncryptWith()
WSTrustElementBase
getEncryptWith in interface WSTrustElementBasepublic void setKeyWrapAlgorithm(java.net.URI algorithm)
WSTrustElementBase
setKeyWrapAlgorithm in interface WSTrustElementBasepublic java.net.URI getKeyWrapAlgorithm()
WSTrustElementBase
getKeyWrapAlgorithm in interface WSTrustElementBasepublic void setDelegateTo(DelegateTo to)
WSTrustElementBase
setDelegateTo in interface WSTrustElementBasepublic DelegateTo getDelegateTo()
WSTrustElementBase
getDelegateTo in interface WSTrustElementBasepublic void setForwardable(boolean flag)
WSTrustElementBase
setForwardable in interface WSTrustElementBasepublic boolean getForwardable()
WSTrustElementBase
getForwardable in interface WSTrustElementBasepublic void setDelegatable(boolean flag)
WSTrustElementBase
setDelegatable in interface WSTrustElementBasepublic boolean getDelegatable()
WSTrustElementBase
getDelegatable in interface WSTrustElementBasepublic void setPolicy(com.sun.xml.ws.policy.Policy policy)
WSTrustElementBase
setPolicy in interface WSTrustElementBasepublic com.sun.xml.ws.policy.Policy getPolicy()
WSTrustElementBase
getPolicy in interface WSTrustElementBasepublic void setPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
WSTrustElementBase
setPolicyReference in interface WSTrustElementBasepublic com.sun.xml.ws.policy.impl.bindings.PolicyReference getPolicyReference()
WSTrustElementBase
getPolicyReference in interface WSTrustElementBasepublic AllowPostdating getAllowPostdating()
WSTrustElementBase
getAllowPostdating in interface WSTrustElementBasepublic void setAllowPostdating(AllowPostdating allowPostdating)
WSTrustElementBase
setAllowPostdating in interface WSTrustElementBasepublic void setSignChallengeResponse(SignChallengeResponse challenge)
RequestSecurityTokenResponse
setSignChallengeResponse in interface RequestSecurityTokenResponsepublic SignChallengeResponse getSignChallengeResponse()
RequestSecurityTokenResponse
getSignChallengeResponse in interface RequestSecurityTokenResponsepublic void setAuthenticator(Authenticator authenticator)
RequestSecurityTokenResponse
setAuthenticator in interface RequestSecurityTokenResponsepublic Authenticator getAuthenticator()
RequestSecurityTokenResponse
getAuthenticator in interface RequestSecurityTokenResponsepublic void setRequestedProofToken(RequestedProofToken proofToken)
RequestSecurityTokenResponse
setRequestedProofToken in interface RequestSecurityTokenResponsepublic RequestedProofToken getRequestedProofToken()
RequestSecurityTokenResponse
getRequestedProofToken in interface RequestSecurityTokenResponsepublic void setRequestedSecurityToken(RequestedSecurityToken securityToken)
RequestSecurityTokenResponse
setRequestedSecurityToken in interface RequestSecurityTokenResponsepublic RequestedSecurityToken getRequestedSecurityToken()
RequestSecurityTokenResponse
getRequestedSecurityToken in interface RequestSecurityTokenResponsepublic void setRequestedAttachedReference(RequestedAttachedReference reference)
RequestSecurityTokenResponse
setRequestedAttachedReference in interface RequestSecurityTokenResponsepublic RequestedAttachedReference getRequestedAttachedReference()
RequestSecurityTokenResponse
getRequestedAttachedReference in interface RequestSecurityTokenResponsepublic void setRequestedUnattachedReference(RequestedUnattachedReference reference)
RequestSecurityTokenResponse
setRequestedUnattachedReference in interface RequestSecurityTokenResponsepublic RequestedUnattachedReference getRequestedUnattachedReference()
RequestSecurityTokenResponse
getRequestedUnattachedReference in interface RequestSecurityTokenResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||