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

A

AbstractUserDetailsService<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.userdetails
Implement this abstract class to configure for local user authentication storage.
AbstractUserDetailsService() - Constructor for class nl._42.restsecure.autoconfigure.userdetails.AbstractUserDetailsService
 
AuthenticationController - Class in nl._42.restsecure.autoconfigure.components
This controller implements the default /authentication and /authentication/handshake endpoints.
AuthenticationController() - Constructor for class nl._42.restsecure.autoconfigure.components.AuthenticationController
 
authenticationManagerBean() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig
AuthenticationResult - Interface in nl._42.restsecure.autoconfigure.components
Interface representing the json result object of the authentication endpoints.
AuthenticationResultProvider<T extends RegisteredUser> - Interface in nl._42.restsecure.autoconfigure.components
Provide an implementation as Bean to the ApplicationContext to customize the returned json of the default authentication endpoints.

C

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
 
COOKIE_XSRF_TOKEN - Static variable in class nl._42.restsecure.autoconfigure.XsrfHeaderFilter
 
crowdAuthenticationProvider() - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig.CrowdBeans
 
CrowdBeans() - Constructor for class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig.CrowdBeans
 
CurrentUser - Annotation Type in nl._42.restsecure.autoconfigure.components
Use this annotation on a controller method parameter to resolve the current logged in user.
CustomAuthenticationProviders - Interface in nl._42.restsecure.autoconfigure
Implement this interface and add it to the ApplicationContext to add custom AuthenticationProvider's to the ßSpring Security web config.
customize(HttpSecurity) - Method in interface nl._42.restsecure.autoconfigure.HttpSecurityCustomizer
 
customize(ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry) - Method in interface nl._42.restsecure.autoconfigure.RequestAuthorizationCustomizer
 

D

doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class nl._42.restsecure.autoconfigure.XsrfHeaderFilter
 

F

findUserByUsername(String) - Method in class nl._42.restsecure.autoconfigure.userdetails.AbstractUserDetailsService
 

G

GenericErrorHandler - Class in nl._42.restsecure.autoconfigure.components.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.components.errorhandling.GenericErrorHandler
 
GenericErrorResult - Class in nl._42.restsecure.autoconfigure.components.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.components.errorhandling.GenericErrorResult
 
get() - Method in interface nl._42.restsecure.autoconfigure.CustomAuthenticationProviders
 
getAuthorities() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
getErrorCode() - Method in class nl._42.restsecure.autoconfigure.components.errorhandling.GenericErrorResult
 
getPassword() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
getPassword() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
getRoles() - Method in interface nl._42.restsecure.autoconfigure.components.AuthenticationResult
 
getRolesAsString() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
getUser() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
getUsername() - Method in interface nl._42.restsecure.autoconfigure.components.AuthenticationResult
 
getUsername() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
getUsername() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 

H

handlesAccessDeniedException() - Method in class nl._42.restsecure.autoconfigure.components.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

InMemoryUsersStore - Interface in nl._42.restsecure.autoconfigure
Implement this interface and add it as Bean to the ApplicationContext to fill an in-memory authentication users store.
isAccountExpired() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
isAccountLocked() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
isAccountNonExpired() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
isAccountNonLocked() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
isCredentialsExpired() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
isCredentialsNonExpired() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 
isEnabled() - Method in interface nl._42.restsecure.autoconfigure.userdetails.RegisteredUser
 
isEnabled() - Method in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 

L

loadUserByUsername(String) - Method in class nl._42.restsecure.autoconfigure.userdetails.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.components - package nl._42.restsecure.autoconfigure.components
 
nl._42.restsecure.autoconfigure.components.errorhandling - package nl._42.restsecure.autoconfigure.components.errorhandling
 
nl._42.restsecure.autoconfigure.userdetails - package nl._42.restsecure.autoconfigure.userdetails
 

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.userdetails
Let your custom user object implement this interface.
registration(VerifyTokenFilter) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig.CrowdBeans
 
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.
respond(HttpServletResponse, HttpStatus, String) - Method in class nl._42.restsecure.autoconfigure.components.errorhandling.GenericErrorHandler
 
RestAuthenticationFilter - Class in nl._42.restsecure.autoconfigure
Handles the login POST request.
RestAuthenticationFilter.LoginForm - Class in nl._42.restsecure.autoconfigure
 
ROLE_PREFIX - Static variable in class nl._42.restsecure.autoconfigure.userdetails.UserDetailsAdapter
 

S

SERVER_ACCESS_DENIED_ERROR - Static variable in class nl._42.restsecure.autoconfigure.components.errorhandling.WebMvcErrorHandler
 
SERVER_LOGIN_FAILED_ERROR - Static variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter
 
setResourceLoader(ResourceLoader) - Method in class nl._42.restsecure.autoconfigure.WebSecurityAutoConfig.CrowdBeans
 

T

toAuthenticationResult(T) - Method in interface nl._42.restsecure.autoconfigure.components.AuthenticationResultProvider
Translates the given RegisteredUser implementation to an AuthenticationResult.

U

UserDetailsAdapter<T extends RegisteredUser> - Class in nl._42.restsecure.autoconfigure.userdetails
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.userdetails.UserDetailsAdapter
 
username - Variable in class nl._42.restsecure.autoconfigure.RestAuthenticationFilter.LoginForm
 
users() - Method in interface nl._42.restsecure.autoconfigure.InMemoryUsersStore
Returns all users with name and plaintext password to be loaded into the in memory authentication store.

W

WebMvcErrorHandler - Class in nl._42.restsecure.autoconfigure.components.errorhandling
Default error handler that handles AccessDeniedException thrown when a method security check fails.
WebMvcErrorHandler() - Constructor for class nl._42.restsecure.autoconfigure.components.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.CrowdBeans - Class in nl._42.restsecure.autoconfigure
Autoconfigures Crowd when a crowd-integration-springsecurity jar and a crowd.properties are found on the application's classpath.
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.

X

XsrfHeaderFilter - Class in nl._42.restsecure.autoconfigure
If no 'XSRF-TOKEN' cookie is found on the current request or if its value does not match the CsrfToken value in the CsrfTokenRepository a new one is created and put on the http response.
XsrfHeaderFilter() - Constructor for class nl._42.restsecure.autoconfigure.XsrfHeaderFilter
 
A C D F G H I L N P R S T U W X 
Skip navigation links

Copyright © 2017 42 BV. All rights reserved.