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

Interface RequesterConfiguration.RSTT13

  • All Superinterfaces:
    RequesterConfiguration.RSTT
    Enclosing interface:
    RequesterConfiguration


    public static interface RequesterConfiguration.RSTT13
    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 Detail

      • KEYWRAPALGORITHM

        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:
        Constant Field Values
IBM WebSphere Application ServerTM
Release 9.0