com.ibm.wsspi.wssecurity.core.token.config

Interface RequesterConfiguration.RSTT13

All Superinterfaces:
RequesterConfiguration.RSTT
Enclosing interface:
RequesterConfiguration

  1. public static interface RequesterConfiguration.RSTT13
  2. extends RequesterConfiguration.RSTT
WS-Trust 1.3 keys for RequesterConfig used to specify the content of the RequestSecurityToken trust request.

Example settings:

requestConfig.put(RequesterConfiguration.RSTT13.APPLIESTO_ADDRESS, "http://w3.appliesto.com/");
requestConfig.put(RequesterConfiguration.RSTT13.ISSUER_ADDRESS, "http://w3.issuer.com/");
requestConfig.put(RequesterConfiguration.RSTT13.KEYSIZE, "128");
requestConfig.put(RequesterConfiguration.RSTT13.KEYTYPE, WSSConstants.WST13.KEYTYPE_SYMMETRICKEY);
 
Results in a request containing elements similar to:

 <wst:RequestSecurityToken> 
   <wsp:AppliesTo> 
      <wsa:EndpointReference>
         <wsa:Address>http://w3.appliesto.com/</wsa:Address>
      </wsa:EndpointReference> 
   </wsp:AppliesTo>
   <wst:Issuer>
      <wsa:Address>http://w3.issuer.com/</wsa:Address> 
   </wst:Issuer>
   <wst:KeySize>128</wst:KeySize>
   <wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</wst:KeyType>
</wst:RequestSecurityToken>
 

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
KEYWRAPALGORITHM
Specifies the desired algorithm to use for key wrapping when the STS encrypts the issued token.
Fields inherited from interface com.ibm.wsspi.wssecurity.core.token.config.RequesterConfiguration.RSTT
ALLOWPOSTDATING, APPLIESTO_ADDRESS, APPLIESTO_PORTTYPE, APPLIESTO_SERVICENAME, AUTHENTICATIONTYPE, CANONICALIZATIONALGORITHM, CLAIMS, CLAIMS_DIALECT, COMPUTEDKEYALGORITHM, CONTEXT, DELEGATABLE, ENCRYPTIONALGORITHM, ENCRYPTWITH, ENTROPY_BINARYSECRET, ENTROPY_BINARYSECRET_TYPE, ENTROPY_ENCRYPTEDKEY_ALGORITHM, ENTROPY_ENCRYPTEDKEY_CIPHERVALUE, EXTENSION_BASE, FORWARDABLE, ISSUER_ADDRESS, ISSUER_PORTTYPE, ISSUER_SERVICENAME, KEYSIZE, KEYTYPE, LIFETIME_CREATED, LIFETIME_EXPIRES, POLICYREFERENCE_URI, RENEWING_ALLOW, RENEWING_OK, SIGNATUREALGORITHM, SIGNWITH, TOKENTYPE, VALIDATETARGET_REFERENCE_URI, VALIDATETARGET_REFERENCE_VALUETYPE, VALIDATETARGET_TOKEN_XML

Field Detail

KEYWRAPALGORITHM

  1. static final java.lang.String KEYWRAPALGORITHM
Specifies the desired algorithm to use for key wrapping when the STS encrypts the issued token.
Valid values are valid encryption algorithms.

When set, the trust request will include the wst:KeyWrapAlgorithm element as shown below. The specified algorithm is indicated by "...".

 <wst:KeyWrapAlgorithm>...</wst:KeyWrapAlgorithm>
 
See Also: