Interface JwtAuthenticationProcessor

  • All Superinterfaces:
    org.apache.camel.Processor
    All Known Implementing Classes:
    DefaultJwtAuthenticationProcessor

    public interface JwtAuthenticationProcessor
    extends org.apache.camel.Processor
    A 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 Detail

      • process

        void process​(org.apache.camel.Exchange exchange)
        Specified by:
        process in interface org.apache.camel.Processor