Class JWTEAuthenticator<A extends JWTClaimsSet>

java.lang.Object
io.inverno.mod.security.jose.jwt.JWTEAuthenticator<A>
Type Parameters:
A - the JWT claims set type
All Implemented Interfaces:
Authenticator<TokenCredentials,JWTEAuthentication<A>>

public class JWTEAuthenticator<A extends JWTClaimsSet> extends Object implements Authenticator<TokenCredentials,JWTEAuthentication<A>>

An authenticator implementation that authenticates JWTE token credentials.

The expected token must be a valid JWTE compact string.

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService)

      Creates a JWTE authenticator with the specified JWT service.

      Parameters:
      jwtService - the JWT service
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, org.reactivestreams.Publisher<? extends JWK> keys)

      Creates a JWTE authenticator with the specified JWT service and keys.

      Parameters:
      jwtService - the JWT service
      keys - the keys to consider to verify the JWTS
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service and processed parameters.

      Parameters:
      jwtService - the JWT service
      processedParameters - the parameters processed by the application
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, org.reactivestreams.Publisher<? extends JWK> keys, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service, keys and processed parameters.

      Parameters:
      jwtService - the JWT service
      keys - the keys to consider to verify the JWTS
      processedParameters - the parameters processed by the application
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Class<A> type)

      Creates a JWTE authenticator with the specified JWT service and JWT claims set type.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Type type)

      Creates a JWTE authenticator with the specified JWT service and JWT claims set type.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Class<A> type, org.reactivestreams.Publisher<? extends JWK> keys)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type and keys.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      keys - the keys to consider to decode the JWTE
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Type type, org.reactivestreams.Publisher<? extends JWK> keys)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type and keys.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      keys - the keys to consider to decode the JWTE
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Class<A> type, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type and processed parameters.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      processedParameters - the parameters processed by the application
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Type type, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type and processed parameters.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      processedParameters - the parameters processed by the application
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Class<A> type, org.reactivestreams.Publisher<? extends JWK> keys, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type, keys and processed parameters.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      keys - the keys to consider to decode the JWTE
      processedParameters - the parameters processed by the application
    • JWTEAuthenticator

      public JWTEAuthenticator(JWTService jwtService, Type type, org.reactivestreams.Publisher<? extends JWK> keys, String... processedParameters)

      Creates a JWTE authenticator with the specified JWT service, JWT claims set type, keys and processed parameters.

      Parameters:
      jwtService - the JWT service
      type - the JWT claims set type
      keys - the keys to consider to decode the JWTE
      processedParameters - the parameters processed by the application
  • Method Details