Skip navigation links
A C D F G H I L N P R S T U W 

A

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.WebSecurityAutoConfig.WebSecurityMvcAutoConfig
 
authenticate(RegisteredUser) - Method in class nl._42.restsecure.autoconfigure.authentication.AuthenticationController
 
AuthenticationController - Class in nl._42.restsecure.autoconfigure.authentication
This controller implements the default /authentication and /authentication/handshake 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<T extends RegisteredUser> - Interface in nl._42.restsecure.autoconfigure.authentication
Provide an implementation as Bean to the ApplicationContext to customize the returned JSON of the default authentication endpoints.
authenticationResultProvider() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
Adds an AuthenticationResultProvider to the ApplicationContext if no AuthenticationResultProvider bean is found already.

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(WebSecurity) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
configure(HttpSecurity) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
configure(WebSecurity) - Method in interface nl._42.restsecure.autoconfigure.WebSecurityCustomizer
 
current(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<HttpSecurity>.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
 
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
 

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() - 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.
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 the HttpSecurity 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
 
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
 

P

password - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
 
passwordEncoder() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
Adds a BCryptPasswordEncoder to the ApplicationContext if no PasswordEncoder bean is found already.

R

RegisteredUser - Interface in nl._42.restsecure.autoconfigure.authentication
Let your custom user object implement this interface.
RequestAuthorizationCustomizer - Interface in nl._42.restsecure.autoconfigure
Implement this interface and add it as Bean to the ApplicationContext to customize the auto configured url registry.
resolve(Authentication) - 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(GenericErrorHandler, AuthenticationManager, RememberMeServices) - 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.RestAuthenticationFilter
 
SERVER_SESSION_INVALID_ERROR - Static variable in class nl._42.restsecure.autoconfigure.errorhandling.RestAccessDeniedHandler
 
supportsParameter(MethodParameter) - Method in class nl._42.restsecure.autoconfigure.authentication.CurrentUserArgumentResolver
 

T

toResult(T) - Method in interface nl._42.restsecure.autoconfigure.authentication.AuthenticationResultProvider
Translates the given RegisteredUser implementation to an AuthenticationResult.
toResult(RegisteredUser) - Method in class nl._42.restsecure.autoconfigure.authentication.DefaultAuthenticationResultProvider
 
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 the SecurityContext.
UserDetailsAdapter(T) - Constructor for class nl._42.restsecure.autoconfigure.authentication.UserDetailsAdapter
 
username - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
 
UserProvider - Interface in nl._42.restsecure.autoconfigure.authentication
 
userProvider() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
Adds an UserProvider to the ApplicationContext if no UserProvider bean is found already.
UserResolver - Class in nl._42.restsecure.autoconfigure.authentication
 
UserResolver(UserProvider) - 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() - Constructor for class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
 
WebSecurityAutoConfig.WebSecurityMvcAutoConfig - Class in nl._42.restsecure.autoconfigure
 
WebSecurityCustomizer - Interface in nl._42.restsecure.autoconfigure
Implement this interface and add it as a Bean to the ApplicationContext to be able to configure WebSecurity.
WebSecurityMvcAutoConfig() - Constructor for class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig.WebSecurityMvcAutoConfig
 
A C D F G H I L N P R S T U W 
Skip navigation links

Copyright © 2017–2019 42 BV. All rights reserved.