A C D F G H I L N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRestAuthenticationSuccessHandler<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.authentication
-
Add an implementation of this class as @Bean to the ApplicationContext to be able to handle successful authentication.
- AbstractRestAuthenticationSuccessHandler() - Constructor for class nl._42.restsecure.autoconfigure.authentication.AbstractRestAuthenticationSuccessHandler
- AbstractUserDetailsService<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.authentication
-
Implement this abstract class to configure for local user authentication storage.
- AbstractUserDetailsService() - Constructor for class nl._42.restsecure.autoconfigure.authentication.AbstractUserDetailsService
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class nl._42.restsecure.autoconfigure.authentication.ArgumentResolverConfig
- ArgumentResolverConfig - Class in nl._42.restsecure.autoconfigure.authentication
- ArgumentResolverConfig(UserResolver<RegisteredUser>) - Constructor for class nl._42.restsecure.autoconfigure.authentication.ArgumentResolverConfig
- authenticate(HttpServletRequest, HttpServletResponse, RegisteredUser) - Method in class nl._42.restsecure.autoconfigure.authentication.AuthenticationController
- AuthenticationAdapter - Class in nl._42.restsecure.autoconfigure.authentication
-
Authentication implementation that is based on a user object.
- AuthenticationAdapter(RegisteredUser) - Constructor for class nl._42.restsecure.autoconfigure.authentication.AuthenticationAdapter
-
Create a new authentication based on a user.
- AuthenticationController - Class in nl._42.restsecure.autoconfigure.authentication
-
This controller implements the default /authentication and /authentication/current endpoints.
- AuthenticationController(AuthenticationResultProvider) - Constructor for class nl._42.restsecure.autoconfigure.authentication.AuthenticationController
- authenticationManagerBean() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- AuthenticationResult - Interface in nl._42.restsecure.autoconfigure.authentication
-
Interface representing the json result object of the authentication endpoints.
- authenticationResultProvider() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
-
Adds an
AuthenticationResultProvider
to theApplicationContext
if noAuthenticationResultProvider
bean is found already. - AuthenticationResultProvider<T extends RegisteredUser> - Interface in nl._42.restsecure.autoconfigure.authentication
-
Provide an implementation as
Bean
to theApplicationContext
to customize the returned JSON of the default authentication endpoints.
C
- commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
-
Handles authentication exception when trying to reach a restricted URL.
- configure(AuthenticationManagerBuilder) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- configure(HttpSecurity) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- configure(WebSecurity) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- configure(WebSecurity) - Method in interface nl._42.restsecure.autoconfigure.WebSecurityCustomizer
- current(HttpServletRequest, HttpServletResponse, RegisteredUser) - Method in class nl._42.restsecure.autoconfigure.authentication.AuthenticationController
- CurrentUser - Annotation Type in nl._42.restsecure.autoconfigure.authentication
-
Use this annotation on a controller method parameter to resolve the current logged in user.
- CurrentUserArgumentResolver - Class in nl._42.restsecure.autoconfigure.authentication
- CurrentUserArgumentResolver(UserResolver) - Constructor for class nl._42.restsecure.autoconfigure.authentication.CurrentUserArgumentResolver
- customize(HttpSecurity) - Method in interface nl._42.restsecure.autoconfigure.HttpSecurityCustomizer
- customize(ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry) - Method in interface nl._42.restsecure.autoconfigure.RequestAuthorizationCustomizer
D
- DefaultAuthenticationResultProvider - Class in nl._42.restsecure.autoconfigure.authentication
- DefaultAuthenticationResultProvider() - Constructor for class nl._42.restsecure.autoconfigure.authentication.DefaultAuthenticationResultProvider
- DefaultLoginAuthenticationExceptionHandler - Class in nl._42.restsecure.autoconfigure.errorhandling
- DefaultLoginAuthenticationExceptionHandler() - Constructor for class nl._42.restsecure.autoconfigure.errorhandling.DefaultLoginAuthenticationExceptionHandler
- DefaultUserProvider - Class in nl._42.restsecure.autoconfigure.authentication
- DefaultUserProvider() - Constructor for class nl._42.restsecure.autoconfigure.authentication.DefaultUserProvider
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
- doHandle(HttpServletRequest, HttpServletResponse, T) - Method in class nl._42.restsecure.autoconfigure.authentication.AbstractRestAuthenticationSuccessHandler
F
- findUserByUsername(String) - Method in class nl._42.restsecure.autoconfigure.authentication.AbstractUserDetailsService
G
- GenericErrorHandler - Class in nl._42.restsecure.autoconfigure.errorhandling
-
REST errorhandler that sets given http status and writes given errorCode as json object to the http response.
- GenericErrorHandler(ObjectMapper) - Constructor for class nl._42.restsecure.autoconfigure.errorhandling.GenericErrorHandler
- GenericErrorResult - Class in nl._42.restsecure.autoconfigure.errorhandling
-
Represents the json object that is set as http response body when an exception is thrown.
- GenericErrorResult(String) - Constructor for class nl._42.restsecure.autoconfigure.errorhandling.GenericErrorResult
- getAuthorities() - Method in interface nl._42.restsecure.autoconfigure.authentication.AuthenticationResult
- getAuthorities() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- getAuthorities() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- getErrorCode() - Method in class nl._42.restsecure.autoconfigure.errorhandling.GenericErrorResult
- getPassword() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- getPassword() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- getUser() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- getUsername() - Method in interface nl._42.restsecure.autoconfigure.authentication.AuthenticationResult
- getUsername() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- getUsername() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
H
- handle(HttpServletRequest, HttpServletResponse, AccessDeniedException) - Method in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
-
Handles URL authority matching failures.
- handle(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class nl._42.restsecure.autoconfigure.errorhandling.DefaultLoginAuthenticationExceptionHandler
- handle(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in interface nl._42.restsecure.autoconfigure.errorhandling.LoginAuthenticationExceptionHandler
- handlesAccessDeniedException() - Method in class nl._42.restsecure.autoconfigure.errorhandling.WebMvcErrorHandler
- HttpSecurityCustomizer - Interface in nl._42.restsecure.autoconfigure
-
Implement this interface and add it to the
ApplicationContext
to be able to customize theHttpSecurity
object.
I
- isAccountExpired() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- isAccountLocked() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- isAccountNonExpired() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- isAccountNonLocked() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- isCredentialsExpired() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- isCredentialsNonExpired() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- isEnabled() - Method in interface nl._42.restsecure.autoconfigure.authentication.RegisteredUser
- isEnabled() - Method in class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
L
- loadUserByUsername(String) - Method in class nl._42.restsecure.autoconfigure.authentication.AbstractUserDetailsService
- LOGIN_FORM_JSON - Static variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
- LoginAuthenticationExceptionHandler - Interface in nl._42.restsecure.autoconfigure.errorhandling
- loginExceptionHandler(GenericErrorHandler) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- LoginForm() - Constructor for class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
N
- nl._42.restsecure.autoconfigure - package nl._42.restsecure.autoconfigure
- nl._42.restsecure.autoconfigure.authentication - package nl._42.restsecure.autoconfigure.authentication
- nl._42.restsecure.autoconfigure.errorhandling - package nl._42.restsecure.autoconfigure.errorhandling
O
- onAuthenticationSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class nl._42.restsecure.autoconfigure.authentication.AbstractRestAuthenticationSuccessHandler
P
- password - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
- passwordEncoder() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
-
Adds a
BCryptPasswordEncoder
to theApplicationContext
if noPasswordEncoder
bean is found already.
R
- RegisteredUser - Interface in nl._42.restsecure.autoconfigure.authentication
-
Let your custom user object implement this interface.
- rememberMe - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
- RequestAuthorizationCustomizer - Interface in nl._42.restsecure.autoconfigure
-
Implement this interface and add it as
Bean
to theApplicationContext
to customize the auto configured url registry. - resolve() - Method in class nl._42.restsecure.autoconfigure.authentication.UserResolver
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class nl._42.restsecure.autoconfigure.authentication.CurrentUserArgumentResolver
- respond(HttpServletResponse, HttpStatus, String) - Method in class nl._42.restsecure.autoconfigure.errorhandling.GenericErrorHandler
- RestAccessDeniedHandler - Class in nl._42.restsecure.autoconfigure.errorhandling
-
Handles all authentication- and authorization exceptions that can occur in the http web environment.
- RestAccessDeniedHandler(GenericErrorHandler) - Constructor for class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
- RestAuthenticationFilter - Class in nl._42.restsecure.autoconfigure
-
Handles the login POST request.
- RestAuthenticationFilter(LoginAuthenticationExceptionHandler, AuthenticationManager) - Constructor for class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
- RestAuthenticationFilter.LoginForm - Class in nl._42.restsecure.autoconfigure
S
- SERVER_ACCESS_DENIED_ERROR - Static variable in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
- SERVER_AUTHENTICATE_ERROR - Static variable in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
- SERVER_LOGIN_FAILED_ERROR - Static variable in class nl._42.restsecure.autoconfigure.errorhandling.DefaultLoginAuthenticationExceptionHandler
- SERVER_SESSION_INVALID_ERROR - Static variable in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
- setAuthCustomizer(RequestAuthorizationCustomizer) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setAuthenticationSuccessHandler(AbstractRestAuthenticationSuccessHandler) - Method in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
- setAuthenticationSuccessHandler(AbstractRestAuthenticationSuccessHandler<? extends RegisteredUser>) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setAuthProviders(List<AuthenticationProvider>) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setHttpCustomizer(HttpSecurityCustomizer) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setRememberMeServices(RememberMeServices) - Method in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
- setRememberMeServices(RememberMeServices) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setUserDetailsService(AbstractUserDetailsService<? extends RegisteredUser>) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- setWebSecurityCustomizer(WebSecurityCustomizer) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- supportsParameter(MethodParameter) - Method in class nl._42.restsecure.autoconfigure.authentication.CurrentUserArgumentResolver
T
- toResult(HttpServletRequest, HttpServletResponse, RegisteredUser) - Method in class nl._42.restsecure.autoconfigure.authentication.DefaultAuthenticationResultProvider
- toResult(HttpServletRequest, HttpServletResponse, T) - Method in interface nl._42.restsecure.autoconfigure.authentication.AuthenticationResultProvider
-
Translates the given
RegisteredUser
implementation to anAuthenticationResult
. - toUser(Authentication) - Method in class nl._42.restsecure.autoconfigure.authentication.DefaultUserProvider
- toUser(Authentication) - Method in interface nl._42.restsecure.autoconfigure.authentication.UserProvider
U
- UserDetailsAdapter<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.authentication
-
Wraps the custom user object and will be available as principal on the
Authentication
in theSecurityContext
. - UserDetailsAdapter(T) - Constructor for class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
- username - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
- userProvider() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- UserProvider - Interface in nl._42.restsecure.autoconfigure.authentication
- UserResolver<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.authentication
- UserResolver() - Constructor for class nl._42.restsecure.autoconfigure.authentication.UserResolver
W
- WebMvcErrorHandler - Class in nl._42.restsecure.autoconfigure.errorhandling
-
Default error handler that handles
AccessDeniedException
thrown when a method security check fails. - WebMvcErrorHandler() - Constructor for class nl._42.restsecure.autoconfigure.errorhandling.WebMvcErrorHandler
- WebSecurityAutoConfig - Class in nl._42.restsecure.autoconfigure
-
Auto-configures Spring Web Security with a customized UserDetailsService for internal users storage or with crowd-integration-springsecurity for external crowd authentication.
- WebSecurityAutoConfig(RestAccessDeniedHandler) - Constructor for class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
- WebSecurityCustomizer - Interface in nl._42.restsecure.autoconfigure
-
Implement this interface and add it as a
Bean
to theApplicationContext
to be able to configureWebSecurity
.
All Classes All Packages