C E G H I J K M R S V 
All Classes All Packages

C

com.networknt.security - package com.networknt.security
 
com.networknt.security.inbound - package com.networknt.security.inbound
 
com.networknt.security.outbound - package com.networknt.security.outbound
 

E

ENABLE_MOCK_JWT - Static variable in class com.networknt.security.JwtMockHandler
 
ENABLE_VERIFY_JWT - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
ENABLE_VERIFY_JWT - Static variable in class com.networknt.security.JwtVerifier
 

G

getAudience() - Method in class com.networknt.security.JwtConfig
 
getAudience() - Method in interface com.networknt.security.outbound.Message
 
getBody() - Method in interface com.networknt.security.inbound.VerifiedMessage
 
getBody() - Method in interface com.networknt.security.outbound.Message
 
getBody() - Method in interface com.networknt.security.outbound.SignedMessage
 
getCertForSign(String) - Static method in class com.networknt.security.JwtHelper
Deprecated.
 
getCertForSign(String) - Method in class com.networknt.security.JwtVerifier
 
getCertForToken(String) - Static method in class com.networknt.security.JwtHelper
Deprecated.
 
getCertForToken(String) - Method in class com.networknt.security.JwtVerifier
 
getContentType() - Method in interface com.networknt.security.inbound.VerifiedMessage
 
getContentType() - Method in interface com.networknt.security.outbound.Message
 
getDefaultJwtClaims() - Static method in class com.networknt.security.JwtIssuer
Construct a default JwtClaims
getEnvelope() - Method in interface com.networknt.security.outbound.SignedMessage
 
getExpiredInMinutes() - Method in class com.networknt.security.JwtConfig
 
getFilename() - Method in class com.networknt.security.JwtConfig.Key
 
getFingerPrints() - Static method in class com.networknt.security.JwtHelper
Deprecated.
Get a list of certificate fingerprints for server info endpoint so that certification process in light-portal can detect if your service still use the default public key certificates provided by the light-4j framework.
getFingerPrints() - Method in class com.networknt.security.JwtVerifier
Get a list of certificate fingerprints for server info endpoint so that certification process in light-portal can detect if your service still use the default public key certificates provided by the light-4j framework.
getIssuer() - Method in class com.networknt.security.JwtConfig
 
getIssuer() - Method in interface com.networknt.security.outbound.Message
 
getJwt(JwtClaims) - Static method in class com.networknt.security.JwtIssuer
A static method that generate JWT token from JWT claims object
getJwtClaimsWithExpiresIn(int) - Static method in class com.networknt.security.JwtIssuer
Construct a default JwtClaims
getJwtFromAuthorization(String) - Static method in class com.networknt.security.JwtHelper
Deprecated.
Parse the jwt token from Authorization header.
getJwtFromAuthorization(String) - Static method in class com.networknt.security.JwtVerifier
Parse the jwt token from Authorization header.
getJwtVerifier() - Method in interface com.networknt.security.IJwtVerifyHandler
 
getKey() - Method in class com.networknt.security.JwtConfig
 
getKeyName() - Method in class com.networknt.security.JwtConfig.Key
 
getKid() - Method in class com.networknt.security.JwtConfig.Key
 
getOperation() - Method in interface com.networknt.security.outbound.Message
 
getPassword() - Method in class com.networknt.security.JwtConfig.Key
 
getProviderId() - Method in class com.networknt.security.JwtConfig
 
getVersion() - Method in class com.networknt.security.JwtConfig
 

H

handleRequest(HttpServerExchange) - Method in class com.networknt.security.inbound.RequestFilterHandler
 
handleRequest(HttpServerExchange) - Method in class com.networknt.security.inbound.RoleBasedAuthHandler
 
handleRequest(HttpServerExchange) - Method in class com.networknt.security.JwtMockHandler
 
handleRequest(HttpServerExchange) - Method in class com.networknt.security.outbound.ResponseFilterHandler
 

I

IJwtVerifyHandler - Interface in com.networknt.security
This is the interface that all JwtVerifyHandlers will implement.

J

JWT_CERTIFICATE - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_CERTIFICATE - Static variable in class com.networknt.security.JwtVerifier
 
JWT_CLOCK_SKEW_IN_SECONDS - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_CLOCK_SKEW_IN_SECONDS - Static variable in class com.networknt.security.JwtVerifier
 
JWT_CONFIG - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_CONFIG - Static variable in class com.networknt.security.JwtIssuer
 
JWT_CONFIG - Static variable in class com.networknt.security.JwtVerifier
 
JWT_KEY_RESOLVER - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_KEY_RESOLVER - Static variable in class com.networknt.security.JwtVerifier
 
JWT_KEY_RESOLVER_JWKS - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_KEY_RESOLVER_JWKS - Static variable in class com.networknt.security.JwtVerifier
 
JWT_KEY_RESOLVER_X509CERT - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
JWT_KEY_RESOLVER_X509CERT - Static variable in class com.networknt.security.JwtVerifier
 
JWT_PRIVATE_KEY_PASSWORD - Static variable in class com.networknt.security.JwtIssuer
 
JwtConfig - Class in com.networknt.security
Jwt Config class
JwtConfig() - Constructor for class com.networknt.security.JwtConfig
 
JwtConfig.Key - Class in com.networknt.security
 
JwtHelper - Class in com.networknt.security
Deprecated.
JwtHelper() - Constructor for class com.networknt.security.JwtHelper
Deprecated.
 
JwtIssuer - Class in com.networknt.security
JWT token issuer helper utility that use by light-ouath2 token and code services to generate JWT tokens.
JwtIssuer() - Constructor for class com.networknt.security.JwtIssuer
 
JwtMockHandler - Class in com.networknt.security
This is a jwt token provider for testing only.
JwtMockHandler() - Constructor for class com.networknt.security.JwtMockHandler
 
JwtVerifier - Class in com.networknt.security
This is a new class that is designed as non-static to replace the JwtHelper which is a static class.
JwtVerifier(Map<String, Object>) - Constructor for class com.networknt.security.JwtVerifier
 

K

Key() - Constructor for class com.networknt.security.JwtConfig.Key
 
KID - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
KID - Static variable in class com.networknt.security.JwtVerifier
 

M

Message - Interface in com.networknt.security.outbound
Message interface
MessageSigner - Interface in com.networknt.security.outbound
Message Signer
MessageVerifier - Interface in com.networknt.security.inbound
Message Verifier interface
mockClaims() - Method in class com.networknt.security.JwtMockHandler
 

R

readCertificate(String) - Static method in class com.networknt.security.JwtHelper
Deprecated.
Read certificate from a file and convert it into X509Certificate object
readCertificate(String) - Method in class com.networknt.security.JwtVerifier
Read certificate from a file and convert it into X509Certificate object
RequestFilterHandler - Class in com.networknt.security.inbound
This is a middleware handler that is responsible for filter out some fields from the request body for security reasons.
RequestFilterHandler() - Constructor for class com.networknt.security.inbound.RequestFilterHandler
 
ResponseFilterHandler - Class in com.networknt.security.outbound
This is a middleware handler that is responsible for filter out some fields from the response body for security reasons.
ResponseFilterHandler() - Constructor for class com.networknt.security.outbound.ResponseFilterHandler
 
RoleBasedAuthHandler - Class in com.networknt.security.inbound
Role-Based Authorization Handler is an abstract handler to define the structure of the fine-grained Authorization within business context.
RoleBasedAuthHandler() - Constructor for class com.networknt.security.inbound.RoleBasedAuthHandler
 

S

SECRET_CONFIG - Static variable in class com.networknt.security.JwtIssuer
 
SECURITY_CONFIG - Static variable in class com.networknt.security.JwtHelper
Deprecated.
 
SECURITY_CONFIG - Static variable in class com.networknt.security.JwtVerifier
 
setAudience(String) - Method in class com.networknt.security.JwtConfig
 
setExpiredInMinutes(int) - Method in class com.networknt.security.JwtConfig
 
setFilename(String) - Method in class com.networknt.security.JwtConfig.Key
 
setIssuer(String) - Method in class com.networknt.security.JwtConfig
 
setKey(JwtConfig.Key) - Method in class com.networknt.security.JwtConfig
 
setKeyName(String) - Method in class com.networknt.security.JwtConfig.Key
 
setKid(String) - Method in class com.networknt.security.JwtConfig.Key
 
setPassword(String) - Method in class com.networknt.security.JwtConfig.Key
 
setProviderId(String) - Method in class com.networknt.security.JwtConfig
 
setVersion(String) - Method in class com.networknt.security.JwtConfig
 
sign(Message) - Method in interface com.networknt.security.outbound.MessageSigner
 
SignedMessage - Interface in com.networknt.security.outbound
Signed Message

V

VerificationException - Exception in com.networknt.security.inbound
Verification Exception is a runtime exception that is thrown during message verification.
VerificationException(String) - Constructor for exception com.networknt.security.inbound.VerificationException
 
VerificationException(String, Throwable) - Constructor for exception com.networknt.security.inbound.VerificationException
 
VerifiedMessage - Interface in com.networknt.security.inbound
Verified message
verify(SignedMessage) - Method in interface com.networknt.security.inbound.MessageVerifier
 
verifyJwt(String, boolean) - Static method in class com.networknt.security.JwtHelper
Deprecated.
Use verifyToken instead.
verifyJwt(String, boolean, boolean) - Static method in class com.networknt.security.JwtHelper
Deprecated.
This method is to keep backward compatible for those call without VerificationKeyResolver.
verifyJwt(String, boolean, boolean) - Method in class com.networknt.security.JwtVerifier
This method is to keep backward compatible for those call without VerificationKeyResolver.
verifyJwt(String, boolean, boolean, BiFunction<String, Boolean, VerificationKeyResolver>) - Static method in class com.networknt.security.JwtHelper
Deprecated.
Verify JWT token format and signature.
verifyJwt(String, boolean, boolean, BiFunction<String, Boolean, VerificationKeyResolver>) - Method in class com.networknt.security.JwtVerifier
Verify JWT token format and signature.
C E G H I J K M R S V 
All Classes All Packages