- All Implemented Interfaces:
com.google.inject.Provider<org.apache.cxf.ws.security.sts.provider.operation.ValidateOperation>, jakarta.inject.Provider<org.apache.cxf.ws.security.sts.provider.operation.ValidateOperation>
public class TokenValidateOperationProvider
extends Object
implements com.google.inject.Provider<org.apache.cxf.ws.security.sts.provider.operation.ValidateOperation>
This class provides instances of the TokenValidateOperation. The configuration information necessary to construct
an appropriately-configured TokenValidateOperation instance will be injected.
In the 13 release, token validation will simply consult the CTS (via the TokenService) to see whether the specified
token has been issued. Note that each sts instance will be published with configuration state which indicates
whether tokens issued by this sts will be stored in the CTS. This support is necessary to implement a functional
ValidateOperation. Thus this Provider will implement logic to either deploy a ValidateOperation with a set of
TokenValidator implementations which will consume the TokenService to validate sts-issued tokens, or with a UnsupportedValidateOperation,
which will simply throw an exception when invoked, as CTS persistence is required for the validation if issued tokens.