|
||||||||||
| 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.RequestSecurityTokenType
com.sun.xml.ws.security.trust.impl.wssx.elements.RequestSecurityTokenImpl
public class RequestSecurityTokenImpl
Implementation of the RequestSecurityToken interface.
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenType |
|---|
any, context |
| Constructor Summary | |
|---|---|
RequestSecurityTokenImpl()
|
|
RequestSecurityTokenImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenType rstType)
|
|
RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType)
|
|
RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
CancelTarget cancel)
|
|
RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
java.net.URI context,
com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes,
Claims claims,
Entropy entropy,
Lifetime lt,
java.net.URI algorithm)
|
|
RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
java.net.URI context,
RenewTarget target,
AllowPostdating apd,
Renewing renewingInfo)
|
|
| 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. |
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 |
BinaryExchange |
getBinaryExchange()
get BinaryExchange element if any, null otherwise |
CancelTarget |
getCancelTarget()
|
java.net.URI |
getCanonicalizationAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise |
Claims |
getClaims()
Get the desired claims settings for the token if specified, null 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 |
java.util.List<java.lang.Object> |
getExtensionElements()
|
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 |
Participants |
getParticipants()
Get the participants sharing the token if specified, null otherwise |
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 |
RenewTarget |
getRenewTarget()
|
java.net.URI |
getRequestType()
Get the type of request, specified as a URI. |
SecondaryParameters |
getSecondaryParameters()
|
java.net.URI |
getSignatureAlgorithm()
get SignatureAlgorithm value if set, return default otherwise |
SignChallenge |
getSignChallenge()
get SignChallenge element if any, null otherwise |
java.net.URI |
getSignWith()
Get the Signature Algorithm to be used with the token if set, null otherwise |
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 |
ValidateTarget |
getValidateTarget()
|
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 |
setBinaryExchange(BinaryExchange exchange)
set a BinaryExchange |
void |
setCancelTarget(CancelTarget cTarget)
|
void |
setCanonicalizationAlgorithm(java.net.URI algorithm)
set CanonicalizationAlgorithm |
void |
setClaims(Claims claims)
Set the desired claims settings for the requested token |
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 |
setParticipants(Participants participants)
Set the Participants Sharing 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 |
setRenewTarget(RenewTarget target)
|
void |
setRequestType(java.net.URI requestType)
Set the type of request, specified as a URI. |
void |
setSecondaryParameters(SecondaryParameters sp)
|
void |
setSignatureAlgorithm(java.net.URI algorithm)
set SignatureAlgorithm |
void |
setSignChallenge(SignChallenge challenge)
Set a SignChallenge |
void |
setSignWith(java.net.URI algorithm)
Set the Signature Algorithm to be used with the issued token |
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 |
void |
setValidateTarget(ValidateTarget target)
|
| Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenType |
|---|
getAny, 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.RequestSecurityToken |
|---|
getAny, getOtherAttributes |
| Constructor Detail |
|---|
public RequestSecurityTokenImpl()
public RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType)
public RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
java.net.URI context,
com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes,
Claims claims,
Entropy entropy,
Lifetime lt,
java.net.URI algorithm)
public RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
java.net.URI context,
RenewTarget target,
AllowPostdating apd,
Renewing renewingInfo)
public RequestSecurityTokenImpl(java.net.URI tokenType,
java.net.URI requestType,
CancelTarget cancel)
public RequestSecurityTokenImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenType rstType)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.lang.String getContext()
RequestSecurityToken
getContext in interface RequestSecurityTokengetContext in class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenTypeStringpublic void setClaims(Claims claims)
RequestSecurityToken
setClaims in interface RequestSecurityTokenpublic Claims getClaims()
RequestSecurityToken
getClaims in interface RequestSecurityTokenpublic void setCancelTarget(CancelTarget cTarget)
setCancelTarget in interface RequestSecurityTokenpublic CancelTarget getCancelTarget()
getCancelTarget in interface RequestSecurityTokenpublic void setRenewTarget(RenewTarget target)
setRenewTarget in interface RequestSecurityTokenpublic RenewTarget getRenewTarget()
getRenewTarget in interface RequestSecurityTokenpublic final void setValidateTarget(ValidateTarget target)
setValidateTarget in interface RequestSecurityTokenpublic ValidateTarget getValidateTarget()
getValidateTarget in interface RequestSecurityTokenpublic void setParticipants(Participants participants)
RequestSecurityToken
setParticipants in interface RequestSecurityTokenpublic Participants getParticipants()
RequestSecurityToken
getParticipants in interface RequestSecurityTokenpublic java.net.URI getTokenType()
WSTrustElementBase
getTokenType in interface WSTrustElementBaseURIpublic void setTokenType(java.net.URI tokenType)
WSTrustElementBase
setTokenType in interface WSTrustElementBasetokenType - URIpublic java.net.URI getRequestType()
RequestSecurityToken
getRequestType in interface RequestSecurityTokenURIpublic void setRequestType(java.net.URI requestType)
RequestSecurityToken
setRequestType in interface RequestSecurityTokenrequestType - URIpublic Lifetime getLifetime()
WSTrustElementBase
getLifetime in interface WSTrustElementBasepublic void setLifetime(Lifetime lifetime)
WSTrustElementBase
setLifetime in interface WSTrustElementBasepublic SecondaryParameters getSecondaryParameters()
getSecondaryParameters in interface RequestSecurityTokenpublic void setSecondaryParameters(SecondaryParameters sp)
setSecondaryParameters in interface RequestSecurityTokenpublic Entropy getEntropy()
WSTrustElementBase
getEntropy in interface WSTrustElementBaseEntropypublic void setEntropy(Entropy entropy)
WSTrustElementBase
setEntropy in interface WSTrustElementBaseentropy - Entropypublic 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 java.util.List<java.lang.Object> getExtensionElements()
getExtensionElements in interface RequestSecurityToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||