| Class | Description |
|---|---|
| AuthenticationSuccessHandler |
Authentication success handler for sending the response
to the client after successful authentication.
|
| HttpCookieOAuth2AuthorizationRequestRepository |
Cookie based repository for storing Authorization requests
|
| JwtAuthenticationProvider<U extends AbstractUser<U,ID>,ID extends java.io.Serializable> |
Authentication provider for JWT token authentication
|
| JwtAuthenticationToken |
JWT Authentication token
|
| JwtService |
JWT Service
References:
https://connect2id.com/products/nimbus-jose-jwt/examples/jwe-with-shared-key
https://connect2id.com/products/nimbus-jose-jwt/examples/validating-jwt-access-tokens
|
| JwtServiceTests | |
| LemonCorsConfig |
CORS Configuration
|
| LemonGrantedAuthority |
Our implementation of GrantedAuthority.
|
| LemonOAuth2UserService<U extends AbstractUser<U,ID>,ID extends java.io.Serializable> |
Logs in or registers a user after OAuth2 SignIn/Up
|
| LemonOidcUserService |
Logs in or registers a user after OpenID Connect SignIn/Up
|
| LemonPermissionEvaluator |
Needed to check the permission for the service methods
annotated with @PreAuthorize("hasPermission(...
|
| LemonPrincipal<ID extends java.io.Serializable> |
Spring Security Principal, implementing both OidcUser, UserDetails
|
| LemonSecurityConfig |
Security configuration class.
|
| LemonTokenAuthenticationFilter |
Filter for token authentication
|
| LemonUserDetailsService<U extends AbstractUser<U,ID>,ID extends java.io.Serializable> |
UserDetailsService, as required by Spring Security.
|
| OAuth2AuthenticationFailureHandler |
OAuth2 Authentication failure handler for removing oauth2 related cookies
|
| OAuth2AuthenticationSuccessHandler<ID extends java.io.Serializable> |
Authentication success handler for redirecting the
OAuth2 signed in user to a URL with a short lived auth token
|
| UserDto<ID extends java.io.Serializable> |
A lighter User class,
mainly used for holding logged-in user data
|