Module org.elasticsearch.security
Class JwtSignatureValidator.PkcJwtSignatureValidator
java.lang.Object
org.elasticsearch.xpack.security.authc.jwt.JwtSignatureValidator.PkcJwtSignatureValidator
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.core.Releasable,JwtSignatureValidator
- Enclosing interface:
JwtSignatureValidator
public static class JwtSignatureValidator.PkcJwtSignatureValidator
extends Object
implements JwtSignatureValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.security.authc.jwt.JwtSignatureValidator
JwtSignatureValidator.DelegatingJwtSignatureValidator, JwtSignatureValidator.HmacJwtSignatureValidator, JwtSignatureValidator.PkcJwkSetReloadNotifier, JwtSignatureValidator.PkcJwtSignatureValidator -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvalidate(String tokenPrincipal, com.nimbusds.jwt.SignedJWT signedJWT, ActionListener<Void> listener) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.security.authc.jwt.JwtSignatureValidator
createJwsVerifier, validateSignature
-
Method Details
-
validate
public void validate(String tokenPrincipal, com.nimbusds.jwt.SignedJWT signedJWT, ActionListener<Void> listener) - Specified by:
validatein interfaceJwtSignatureValidator
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceJwtSignatureValidator- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-