Package org.entur.jwt.spring.camel
Interface JwtAuthenticationProcessor
-
- All Superinterfaces:
org.apache.camel.Processor
- All Known Implementing Classes:
DefaultJwtAuthenticationProcessor
public interface JwtAuthenticationProcessor extends org.apache.camel.ProcessorA Processor which, if present, extracts the Json Web Token from the message HttpServletRequest Authorization header and saves it to the message Exchange.AUTHENTICATION. If not present, an anonymous authentication object is used.
This implementation assumes that SpringSecurityAuthorizationPolicy#setUseThreadSecurityContext is used to disable thread local authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(org.apache.camel.Exchange exchange)
-