Class SecondaryParametersImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
com.sun.xml.ws.security.trust.impl.wssx.elements.SecondaryParametersImpl
- All Implemented Interfaces:
SecondaryParameters,WSTrustElementBase
Implementation of the SecondaryParameters interface.
- Author:
- Jiandong Guo
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
any -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the desired AppliesTo policy settings for the token if specified, null otherwiseget Authentication Type parameter if set, null otherwiseget BinaryExchange element if any, null otherwiseget CanonicalizationAlgorithm value if set, return default otherwiseGet the desired claims settings for the token if specified, null otherwiseget CanonicalizationAlgorithm value if set, return default otherwisebooleanGet the value of the Delegatable flag NOTE: default value of this flag is falseget the DelegateTo value if set, null otherwiseget Encryption value if set, return null otherwiseget EncryptionAlgorithm value if set, return default otherwiseGet the Encryption Algorithm to be used with the token if set, null otherwiseGet the entropy for the requested tokenbooleanGet the value of the Forwardable flag NOTE: default value of this flag is trueget Issuer of the SecurityToken Presented in the Message, null otherwiselongget the KeySize parameter if specified, 0 otherwiseget KeyType Parameter if set, null otherwiseget KeyWrapAlgorithm value if set, return default otherwiseGet the desired LifeTime settings for the token if specified, null otherwiseGet the value of OnBehalfOf for the token if specified, null otherwiseGet the desired policy settings for the token if specified, null otherwiseGet the desired policyReference settings for the token if specified, null otherwiseGet the desired proofEncryption settings for the token if specified, null otherwiseget the<wst:Renewing/>element if present, null otherwiseget SignatureAlgorithm value if set, return default otherwiseget SignChallenge element if any, null otherwiseGet the Signature Algorithm to be used with the token if set, null otherwiseGet the type of security token, specified as a URI.Get the desired useKey settings for the token if specified, null otherwisevoidsetAllowPostdating(AllowPostdating allowPostdating) Set the desired policyReference settings for the requested tokenvoidsetAppliesTo(AppliesTo appliesTo) Set the desired policy settings for the requested tokenvoidsetAuthenticationType(URI uri) set AuthenticationTypevoidsetBinaryExchange(BinaryExchange exchange) set a BinaryExchangevoidsetCanonicalizationAlgorithm(URI algorithm) set CanonicalizationAlgorithmvoidSet the desired claims settings for the requested tokenvoidsetComputedKeyAlgorithm(URI algorithm) set ComputedKeyAlgorithmvoidsetDelegatable(boolean flag) Set if the requested token be delegatablevoidset the Delegate to which the issued token be delegatedvoidsetEncryption(Encryption enc) set EncryptionvoidsetEncryptionAlgorithm(URI algorithm) set EncryptionAlgorithmvoidsetEncryptWith(URI algorithm) Set the Encryption Algorithm to be used with the issued tokenvoidsetEntropy(Entropy entropy) Set the entropy for the requested tokenvoidsetForwardable(boolean flag) Set if the requested token be forwardablevoidset Issuer of the SecurityToken Presented in the messagevoidsetKeySize(long size) set the KeySize parametervoidsetKeyType(URI keytype) set KeyType parametervoidsetKeyWrapAlgorithm(URI algorithm) set KeyWrapAlgorithmvoidsetLifetime(Lifetime lifetime) Set the desired lifetime settings for the requested tokenvoidsetOnBehalfOf(OnBehalfOf onBehalfOf) Set the value of OnBehalfOf for the requested tokenvoidSet the desired policy settings for the requested tokenvoidsetPolicyReference(PolicyReference policyRef) Set the desired policyReference settings for the requested tokenvoidsetProofEncryption(ProofEncryption proofEncryption) Set the desired proofEncryption settings for the requested tokenvoidsetRenewable(Renewing renew) set a<wst:Renewing/>element to make a renewable Issue requestvoidsetSignatureAlgorithm(URI algorithm) set SignatureAlgorithmvoidsetSignChallenge(SignChallenge challenge) Set a SignChallengevoidsetSignWith(URI algorithm) Set the Signature Algorithm to be used with the issued tokenvoidsetTokenType(URI tokenType) Set the type of security token, specified as a URI.voidSet the desired useKey settings for the requested tokenMethods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.SecondaryParametersType
getAnyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.security.trust.elements.SecondaryParameters
getAny
-
Constructor Details
-
SecondaryParametersImpl
public SecondaryParametersImpl() -
SecondaryParametersImpl
- Throws:
Exception
-
-
Method Details
-
setClaims
Description copied from interface:SecondaryParametersSet the desired claims settings for the requested token- Specified by:
setClaimsin interfaceSecondaryParameters
-
getClaims
Description copied from interface:SecondaryParametersGet the desired claims settings for the token if specified, null otherwise- Specified by:
getClaimsin interfaceSecondaryParameters
-
getTokenType
Description copied from interface:WSTrustElementBaseGet the type of security token, specified as a URI.- Specified by:
getTokenTypein interfaceWSTrustElementBase- Returns:
URI
-
setTokenType
Description copied from interface:WSTrustElementBaseSet the type of security token, specified as a URI.- Specified by:
setTokenTypein interfaceWSTrustElementBase- Parameters:
tokenType-URI
-
getLifetime
Description copied from interface:WSTrustElementBaseGet the desired LifeTime settings for the token if specified, null otherwise- Specified by:
getLifetimein interfaceWSTrustElementBase
-
setLifetime
Description copied from interface:WSTrustElementBaseSet the desired lifetime settings for the requested token- Specified by:
setLifetimein interfaceWSTrustElementBase
-
getEntropy
Description copied from interface:WSTrustElementBaseGet the entropy for the requested token- Specified by:
getEntropyin interfaceWSTrustElementBase- Returns:
Entropy
-
setEntropy
Description copied from interface:WSTrustElementBaseSet the entropy for the requested token- Specified by:
setEntropyin interfaceWSTrustElementBase- Parameters:
entropy-Entropy
-
setAppliesTo
Description copied from interface:WSTrustElementBaseSet the desired policy settings for the requested token- Specified by:
setAppliesToin interfaceWSTrustElementBase- Parameters:
appliesTo-AppliesTo
-
getAppliesTo
Description copied from interface:WSTrustElementBaseGet the desired AppliesTo policy settings for the token if specified, null otherwise- Specified by:
getAppliesToin interfaceWSTrustElementBase- Returns:
AppliesTo
-
setOnBehalfOf
Description copied from interface:WSTrustElementBaseSet the value of OnBehalfOf for the requested token- Specified by:
setOnBehalfOfin interfaceWSTrustElementBase- Parameters:
onBehalfOf-OnBehalfOf
-
getOnBehalfOf
Description copied from interface:WSTrustElementBaseGet the value of OnBehalfOf for the token if specified, null otherwise- Specified by:
getOnBehalfOfin interfaceWSTrustElementBase- Returns:
OnBehalfOf
-
setIssuer
Description copied from interface:WSTrustElementBaseset Issuer of the SecurityToken Presented in the message- Specified by:
setIssuerin interfaceWSTrustElementBase
-
getIssuer
Description copied from interface:WSTrustElementBaseget Issuer of the SecurityToken Presented in the Message, null otherwise- Specified by:
getIssuerin interfaceWSTrustElementBase
-
setRenewable
Description copied from interface:WSTrustElementBaseset a<wst:Renewing/>element to make a renewable Issue request- Specified by:
setRenewablein interfaceWSTrustElementBase
-
getRenewable
Description copied from interface:WSTrustElementBaseget the<wst:Renewing/>element if present, null otherwise- Specified by:
getRenewablein interfaceWSTrustElementBase
-
setSignChallenge
Description copied from interface:WSTrustElementBaseSet a SignChallenge- Specified by:
setSignChallengein interfaceWSTrustElementBase
-
getSignChallenge
Description copied from interface:WSTrustElementBaseget SignChallenge element if any, null otherwise- Specified by:
getSignChallengein interfaceWSTrustElementBase
-
setBinaryExchange
Description copied from interface:WSTrustElementBaseset a BinaryExchange- Specified by:
setBinaryExchangein interfaceWSTrustElementBase
-
getBinaryExchange
Description copied from interface:WSTrustElementBaseget BinaryExchange element if any, null otherwise- Specified by:
getBinaryExchangein interfaceWSTrustElementBase
-
setAuthenticationType
Description copied from interface:WSTrustElementBaseset AuthenticationType- Specified by:
setAuthenticationTypein interfaceWSTrustElementBase
-
getAuthenticationType
Description copied from interface:WSTrustElementBaseget Authentication Type parameter if set, null otherwise- Specified by:
getAuthenticationTypein interfaceWSTrustElementBase
-
setKeyType
Description copied from interface:WSTrustElementBaseset KeyType parameter- Specified by:
setKeyTypein interfaceWSTrustElementBase
-
getKeyType
Description copied from interface:WSTrustElementBaseget KeyType Parameter if set, null otherwise- Specified by:
getKeyTypein interfaceWSTrustElementBase
-
setKeySize
public void setKeySize(long size) Description copied from interface:WSTrustElementBaseset the KeySize parameter- Specified by:
setKeySizein interfaceWSTrustElementBase
-
getKeySize
public long getKeySize()Description copied from interface:WSTrustElementBaseget the KeySize parameter if specified, 0 otherwise- Specified by:
getKeySizein interfaceWSTrustElementBase
-
setSignatureAlgorithm
Description copied from interface:WSTrustElementBaseset SignatureAlgorithm- Specified by:
setSignatureAlgorithmin interfaceWSTrustElementBase
-
getSignatureAlgorithm
Description copied from interface:WSTrustElementBaseget SignatureAlgorithm value if set, return default otherwise- Specified by:
getSignatureAlgorithmin interfaceWSTrustElementBase
-
setEncryptionAlgorithm
Description copied from interface:WSTrustElementBaseset EncryptionAlgorithm- Specified by:
setEncryptionAlgorithmin interfaceWSTrustElementBase
-
getEncryptionAlgorithm
Description copied from interface:WSTrustElementBaseget EncryptionAlgorithm value if set, return default otherwise- Specified by:
getEncryptionAlgorithmin interfaceWSTrustElementBase
-
setCanonicalizationAlgorithm
Description copied from interface:WSTrustElementBaseset CanonicalizationAlgorithm- Specified by:
setCanonicalizationAlgorithmin interfaceWSTrustElementBase
-
getCanonicalizationAlgorithm
Description copied from interface:WSTrustElementBaseget CanonicalizationAlgorithm value if set, return default otherwise- Specified by:
getCanonicalizationAlgorithmin interfaceWSTrustElementBase
-
setUseKey
Description copied from interface:WSTrustElementBaseSet the desired useKey settings for the requested token- Specified by:
setUseKeyin interfaceWSTrustElementBase
-
getUseKey
Description copied from interface:WSTrustElementBaseGet the desired useKey settings for the token if specified, null otherwise- Specified by:
getUseKeyin interfaceWSTrustElementBase
-
setProofEncryption
Description copied from interface:WSTrustElementBaseSet the desired proofEncryption settings for the requested token- Specified by:
setProofEncryptionin interfaceWSTrustElementBase
-
getProofEncryption
Description copied from interface:WSTrustElementBaseGet the desired proofEncryption settings for the token if specified, null otherwise- Specified by:
getProofEncryptionin interfaceWSTrustElementBase
-
setComputedKeyAlgorithm
Description copied from interface:WSTrustElementBaseset ComputedKeyAlgorithm- Specified by:
setComputedKeyAlgorithmin interfaceWSTrustElementBase
-
getComputedKeyAlgorithm
Description copied from interface:WSTrustElementBaseget CanonicalizationAlgorithm value if set, return default otherwise- Specified by:
getComputedKeyAlgorithmin interfaceWSTrustElementBase
-
setEncryption
Description copied from interface:WSTrustElementBaseset Encryption- Specified by:
setEncryptionin interfaceWSTrustElementBase
-
getEncryption
Description copied from interface:WSTrustElementBaseget Encryption value if set, return null otherwise- Specified by:
getEncryptionin interfaceWSTrustElementBase
-
setSignWith
Description copied from interface:WSTrustElementBaseSet the Signature Algorithm to be used with the issued token- Specified by:
setSignWithin interfaceWSTrustElementBase
-
getSignWith
Description copied from interface:WSTrustElementBaseGet the Signature Algorithm to be used with the token if set, null otherwise- Specified by:
getSignWithin interfaceWSTrustElementBase
-
setEncryptWith
Description copied from interface:WSTrustElementBaseSet the Encryption Algorithm to be used with the issued token- Specified by:
setEncryptWithin interfaceWSTrustElementBase
-
getEncryptWith
Description copied from interface:WSTrustElementBaseGet the Encryption Algorithm to be used with the token if set, null otherwise- Specified by:
getEncryptWithin interfaceWSTrustElementBase
-
setKeyWrapAlgorithm
Description copied from interface:WSTrustElementBaseset KeyWrapAlgorithm- Specified by:
setKeyWrapAlgorithmin interfaceWSTrustElementBase
-
getKeyWrapAlgorithm
Description copied from interface:WSTrustElementBaseget KeyWrapAlgorithm value if set, return default otherwise- Specified by:
getKeyWrapAlgorithmin interfaceWSTrustElementBase
-
setDelegateTo
Description copied from interface:WSTrustElementBaseset the Delegate to which the issued token be delegated- Specified by:
setDelegateToin interfaceWSTrustElementBase
-
getDelegateTo
Description copied from interface:WSTrustElementBaseget the DelegateTo value if set, null otherwise- Specified by:
getDelegateToin interfaceWSTrustElementBase
-
setForwardable
public void setForwardable(boolean flag) Description copied from interface:WSTrustElementBaseSet if the requested token be forwardable- Specified by:
setForwardablein interfaceWSTrustElementBase
-
getForwardable
public boolean getForwardable()Description copied from interface:WSTrustElementBaseGet the value of the Forwardable flag NOTE: default value of this flag is true- Specified by:
getForwardablein interfaceWSTrustElementBase
-
setDelegatable
public void setDelegatable(boolean flag) Description copied from interface:WSTrustElementBaseSet if the requested token be delegatable- Specified by:
setDelegatablein interfaceWSTrustElementBase
-
getDelegatable
public boolean getDelegatable()Description copied from interface:WSTrustElementBaseGet the value of the Delegatable flag NOTE: default value of this flag is false- Specified by:
getDelegatablein interfaceWSTrustElementBase
-
setPolicy
Description copied from interface:WSTrustElementBaseSet the desired policy settings for the requested token- Specified by:
setPolicyin interfaceWSTrustElementBase
-
getPolicy
Description copied from interface:WSTrustElementBaseGet the desired policy settings for the token if specified, null otherwise- Specified by:
getPolicyin interfaceWSTrustElementBase
-
setPolicyReference
Description copied from interface:WSTrustElementBaseSet the desired policyReference settings for the requested token- Specified by:
setPolicyReferencein interfaceWSTrustElementBase
-
getPolicyReference
Description copied from interface:WSTrustElementBaseGet the desired policyReference settings for the token if specified, null otherwise- Specified by:
getPolicyReferencein interfaceWSTrustElementBase
-
getAllowPostdating
Description copied from interface:WSTrustElementBaseGet 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. This can be removed or modified later depending on the outcome of the issue.- Specified by:
getAllowPostdatingin interfaceWSTrustElementBase
-
setAllowPostdating
Description copied from interface:WSTrustElementBaseSet the desired policyReference settings for the requested token- Specified by:
setAllowPostdatingin interfaceWSTrustElementBase
-