Class DefaultTokenWrapper

  • All Implemented Interfaces:
    TokenWrapper

    public class DefaultTokenWrapper
    extends Object
    implements TokenWrapper
    The default implementation of TokenWrapper. For DOM Elements it just set the token directly on the RSTT. If it's a String (as per the case of JWT Tokens), it puts a "TokenWrapper" wrapper around the token.
    • Constructor Detail

      • DefaultTokenWrapper

        public DefaultTokenWrapper()
    • Method Detail

      • wrapToken

        public void wrapToken​(Object token,
                              org.apache.cxf.ws.security.sts.provider.model.RequestedSecurityTokenType requestedTokenType)
        Wrap the Token parameter and set it on the RequestedSecurityTokenType parameter
        Specified by:
        wrapToken in interface TokenWrapper