Class TokenRelayRequestInterceptor
- java.lang.Object
-
- org.activiti.cloud.security.feign.TokenRelayRequestInterceptor
-
- All Implemented Interfaces:
feign.RequestInterceptor,AuthTokenRequestInterceptor
public class TokenRelayRequestInterceptor extends Object implements AuthTokenRequestInterceptor
Feign request interceptor for forwarding the bearer token
-
-
Field Summary
-
Fields inherited from interface org.activiti.cloud.security.feign.AuthTokenRequestInterceptor
AUTHORIZATION, BEARER
-
-
Constructor Summary
Constructors Constructor Description TokenRelayRequestInterceptor(org.activiti.api.runtime.shared.security.SecurityContextTokenProvider securityContextTokenProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getToken()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.security.feign.AuthTokenRequestInterceptor
apply
-
-
-
-
Method Detail
-
getToken
public Optional<String> getToken()
- Specified by:
getTokenin interfaceAuthTokenRequestInterceptor
-
-