A B C D F G I J K P S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AUTHORIZATION_HEADER_MISSING - be.looorent.micronaut.security.SecurityErrorType
-
When the HTTP Authorization header is not present
- AUTHORIZATION_HEADER_WRONG_FORMAT - be.looorent.micronaut.security.SecurityErrorType
-
When the HTTP Authorization header does not contain a schema and a token
- AUTHORIZATION_HEADER_WRONG_SCHEME - be.looorent.micronaut.security.SecurityErrorType
-
When the HTTP Authorization header does not have the "Bearer" scheme.
B
- be.looorent.keycloak - package be.looorent.keycloak
- be.looorent.micronaut.security - package be.looorent.micronaut.security
C
- Constant - Class in be.looorent.micronaut.security
- Constant() - Constructor for class be.looorent.micronaut.security.Constant
- createSecurityContext(Claims) - Method in class be.looorent.micronaut.security.DefaultSecurityContextFactory
- createSecurityContext(Claims) - Method in interface be.looorent.micronaut.security.SecurityContextFactory
-
Starting from a JWT's body, builds a context of security.
D
- DefaultSecurityContextFactory - Class in be.looorent.micronaut.security
-
Default implementation to create an empty
SecurityContext. - DefaultSecurityContextFactory() - Constructor for class be.looorent.micronaut.security.DefaultSecurityContextFactory
- DefaultTokenValidator - Class in be.looorent.micronaut.security
-
Default implementation to validate a JWT's body.
- DefaultTokenValidator() - Constructor for class be.looorent.micronaut.security.DefaultTokenValidator
- doFilter(HttpRequest<?>, ServerFilterChain) - Method in class be.looorent.micronaut.security.SecurityFilter
-
Checks the validity of a request's Authorization header and continue processing the filter chain if no error occurs.
F
- findPublicKey(String) - Method in class be.looorent.keycloak.KeycloakPublicKeyService
- findPublicKey(String) - Method in interface be.looorent.micronaut.security.PublicKeyService
-
This method finds a public key identified by an identifier, generally stored in a JWT header.
G
- getReason() - Method in enum be.looorent.micronaut.security.SecurityErrorType
- getType() - Method in exception be.looorent.micronaut.security.SecurityException
I
- initialize() - Method in class be.looorent.keycloak.KeycloakPublicKeyService
J
- JWT_EXPIRED - be.looorent.micronaut.security.SecurityErrorType
-
[io.jsonwebtoken.ExpiredJwtException]
- JWT_MALFORMED - be.looorent.micronaut.security.SecurityErrorType
-
[io.jsonwebtoken.MalformedJwtException]
- JWT_UNSUPPORTED - be.looorent.micronaut.security.SecurityErrorType
-
see [io.jsonwebtoken.UnsupportedJwtException]
- JWT_WRONG_KID - be.looorent.micronaut.security.SecurityErrorType
- JWT_WRONG_SIGNATURE - be.looorent.micronaut.security.SecurityErrorType
-
[io.jsonwebtoken.SignatureException]
K
- KeycloakPublicKeyService - Class in be.looorent.keycloak
-
Service that retrieves a set of JWK from Keycloak (using HTTP), that can eager or lazy load them at initialization time.
P
- PublicKeyService - Interface in be.looorent.micronaut.security
-
How to find a public key to validate a JWT?
S
- SECURITY_CONTEXT - Static variable in class be.looorent.micronaut.security.Constant
-
Name of the HTTP Request's attribute set by this Keycloak adapter.
- SecurityContext - Interface in be.looorent.micronaut.security
-
A data container describing the current security context.
- SecurityContextFactory - Interface in be.looorent.micronaut.security
-
Contract that can be implemented by the adapter's user to build their
SecurityContext. - SecurityErrorType - Enum in be.looorent.micronaut.security
-
Reason when a parsing error occurs on a JWS token;
- SecurityException - Exception in be.looorent.micronaut.security
-
When a known security error occurs during token parsing.
- SecurityException(SecurityErrorType) - Constructor for exception be.looorent.micronaut.security.SecurityException
- SecurityException(SecurityErrorType, String) - Constructor for exception be.looorent.micronaut.security.SecurityException
- SecurityFilter - Class in be.looorent.micronaut.security
-
This service is not injected as a Micronaut filter, but can be used as the implementation of a Filter in the actual app.
T
- toException() - Method in enum be.looorent.micronaut.security.SecurityErrorType
- TokenValidator - Interface in be.looorent.micronaut.security
-
Validates the content of a token.
U
- UNKWOWN - be.looorent.micronaut.security.SecurityErrorType
V
- validate(Claims) - Method in class be.looorent.micronaut.security.DefaultTokenValidator
- validate(Claims) - Method in interface be.looorent.micronaut.security.TokenValidator
-
Validates each attribute that is relevant to check in a JWT.
- VALIDATION - be.looorent.micronaut.security.SecurityErrorType
-
When a
TokenValidatorhas rejected a token. - valueOf(String) - Static method in enum be.looorent.micronaut.security.SecurityErrorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum be.looorent.micronaut.security.SecurityErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages