Package nl._42.restsecure.autoconfigure.authentication
package nl._42.restsecure.autoconfigure.authentication
-
ClassDescriptionAdd an implementation of this class as @Bean to the ApplicationContext to be able to handle successful authentication.AbstractUserDetailsService<T extends RegisteredUser>Implement this abstract class to configure for local user authentication storage.Authentication implementation that is based on a user object.This controller implements the default /authentication and /authentication/current endpoints.Interface representing the json result object of the authentication endpoints.AuthenticationResultProvider<T extends RegisteredUser>Provide an implementation as
Bean
to theApplicationContext
to customize the returned JSON of the default authentication endpoints.Use this annotation on a controller method parameter to resolve the current logged in user.Let your custom user object implement this interface.UserDetailsAdapter<T extends RegisteredUser>Wraps the custom user object and will be available as principal on theAuthentication
in theSecurityContext
.UserResolver<T extends RegisteredUser>