Package io.prestosql.server.security.jwt
Class JwtAuthenticator
- java.lang.Object
-
- io.prestosql.server.security.jwt.JwtAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class JwtAuthenticator extends Object implements Authenticator
-
-
Constructor Summary
Constructors Constructor Description JwtAuthenticator(JwtAuthenticatorConfig config, io.jsonwebtoken.SigningKeyResolver signingKeyResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identity
authenticate(javax.ws.rs.container.ContainerRequestContext request)
-
-
-
Constructor Detail
-
JwtAuthenticator
@Inject public JwtAuthenticator(JwtAuthenticatorConfig config, io.jsonwebtoken.SigningKeyResolver signingKeyResolver)
-
-
Method Detail
-
authenticate
public Identity authenticate(javax.ws.rs.container.ContainerRequestContext request) throws AuthenticationException
- Specified by:
authenticate
in interfaceAuthenticator
- Throws:
AuthenticationException
-
-