com.sun.xml.ws.security.policy
Interface RequestSecurityTokenTemplate

All Known Implementing Classes:
RequestSecurityTokenTemplate

public interface RequestSecurityTokenTemplate

Contains information to be sent in message to the token issuer when requesting for IssuedTokens


Method Summary
 java.lang.String getAuthenticationType()
          get Authentication Type parameter if set, null otherwise
 java.lang.String getCanonicalizationAlgorithm()
          get CanonicalizationAlgorithm value if set, return default otherwise
 Claims getClaims()
           
 java.lang.String getComputedKeyAlgorithm()
          get CanonicalizationAlgorithm value if set, return default otherwise
 java.lang.String getEncryptionAlgorithm()
          get EncryptionAlgorithm value if set, return default otherwise
 boolean getEncryptionRequired()
          get Encryption value if set, return false otherwise
 java.lang.String getEncryptWith()
          Get the Encryption Algorithm to be used with the token if set, null otherwise
 int getKeySize()
          get the KeySize parameter if specified, 0 otherwise
 java.lang.String getKeyType()
          get KeyType Parameter if set, null otherwise
 java.lang.String getKeyWrapAlgorithm()
          Get the KeyWrap Algorithm used for key wrapping when STS encrypts the issued token for the relying party using an asymmetric key.
 Lifetime getLifetime()
          Get the desired LifeTime settings for the token if specified, null otherwise
 boolean getProofEncryptionRequired()
          Get the desired proofEncryption settings for the token if specified, false otherwise
 java.lang.String getRequestType()
          Get the type of request, specified as a String.
 java.lang.String getSignatureAlgorithm()
          get SignatureAlgorithm value if set, return default otherwise
 java.lang.String getSignWith()
          Get the Signature Algorithm to be used with the token if set, null otherwise
 java.lang.String getTokenType()
          Get the type of security token, specified as a String.
 java.lang.String getTrustVersion()
           
 

Method Detail

getTrustVersion

java.lang.String getTrustVersion()

getTokenType

java.lang.String getTokenType()
Get the type of security token, specified as a String.

Returns:
String

getRequestType

java.lang.String getRequestType()
Get the type of request, specified as a String. The String indicates the class of function that is requested.

Returns:
String

getLifetime

Lifetime getLifetime()
Get the desired LifeTime settings for the token if specified, null otherwise


getAuthenticationType

java.lang.String getAuthenticationType()
get Authentication Type parameter if set, null otherwise


getKeyType

java.lang.String getKeyType()
get KeyType Parameter if set, null otherwise


getKeySize

int getKeySize()
get the KeySize parameter if specified, 0 otherwise


getSignatureAlgorithm

java.lang.String getSignatureAlgorithm()
get SignatureAlgorithm value if set, return default otherwise


getEncryptionAlgorithm

java.lang.String getEncryptionAlgorithm()
get EncryptionAlgorithm value if set, return default otherwise


getCanonicalizationAlgorithm

java.lang.String getCanonicalizationAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise


getProofEncryptionRequired

boolean getProofEncryptionRequired()
Get the desired proofEncryption settings for the token if specified, false otherwise


getComputedKeyAlgorithm

java.lang.String getComputedKeyAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise


getEncryptionRequired

boolean getEncryptionRequired()
get Encryption value if set, return false otherwise


getSignWith

java.lang.String getSignWith()
Get the Signature Algorithm to be used with the token if set, null otherwise


getEncryptWith

java.lang.String getEncryptWith()
Get the Encryption Algorithm to be used with the token if set, null otherwise


getKeyWrapAlgorithm

java.lang.String getKeyWrapAlgorithm()
Get the KeyWrap Algorithm used for key wrapping when STS encrypts the issued token for the relying party using an asymmetric key.


getClaims

Claims getClaims()
Returns:
Claims