Class BearerAuthenticationInterceptor
- java.lang.Object
-
- org.uberfire.ext.security.management.keycloak.client.auth.BearerAuthenticationInterceptor
-
- All Implemented Interfaces:
org.jboss.resteasy.spi.interception.AcceptedByMethod,org.jboss.resteasy.spi.interception.ClientExecutionInterceptor
public class BearerAuthenticationInterceptor extends Object implements org.jboss.resteasy.spi.interception.ClientExecutionInterceptor, org.jboss.resteasy.spi.interception.AcceptedByMethod
A Resteasy client interceptor used for Keycloak's client authentication based on the Bearer authentication method. It does not intercept the "grantToken" and "refreshToken" calls from the token service endpoint (those requests are basic authentication based).- Since:
- 0.9.0
-
-
Constructor Summary
Constructors Constructor Description BearerAuthenticationInterceptor(TokenManager tokenManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Class declaring, Method method)org.jboss.resteasy.client.ClientResponseexecute(org.jboss.resteasy.spi.interception.ClientExecutionContext ctx)
-
-
-
Constructor Detail
-
BearerAuthenticationInterceptor
public BearerAuthenticationInterceptor(TokenManager tokenManager)
-
-