Package org.apache.cxf.sts.operation
Class DefaultTokenWrapper
- java.lang.Object
-
- org.apache.cxf.sts.operation.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 Summary
Constructors Constructor Description DefaultTokenWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrapToken(Object token, RequestedSecurityTokenType requestedTokenType)Wrap the Token parameter and set it on the RequestedSecurityTokenType parameter
-
-
-
Method Detail
-
wrapToken
public void wrapToken(Object token, RequestedSecurityTokenType requestedTokenType)
Wrap the Token parameter and set it on the RequestedSecurityTokenType parameter- Specified by:
wrapTokenin interfaceTokenWrapper
-
-