com.ibm.wsspi.wssecurity.core.token.config
Interface RequesterConfiguration.RSTT13
All Superinterfaces:
Enclosing interface:
- public static interface RequesterConfiguration.RSTT13
- extends RequesterConfiguration.RSTT
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 |
---|---|
|
KEYWRAPALGORITHM
Specifies the desired algorithm to use for key wrapping when the STS encrypts the issued token.
|
Field Detail
KEYWRAPALGORITHM
- static final java.lang.String KEYWRAPALGORITHM
See Also:
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 "...".