Package | Description |
---|---|
org.springframework.security.config.annotation.web.builders | |
org.springframework.security.config.annotation.web.configurers |
Modifier and Type | Method and Description |
---|---|
ExceptionHandlingConfigurer<HttpSecurity> |
HttpSecurity.exceptionHandling()
Allows configuring exception handling.
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandlingConfigurer<H> |
ExceptionHandlingConfigurer.accessDeniedHandler(AccessDeniedHandler accessDeniedHandler)
Specifies the
AccessDeniedHandler to be used |
ExceptionHandlingConfigurer<H> |
ExceptionHandlingConfigurer.accessDeniedPage(String accessDeniedUrl)
Shortcut to specify the
AccessDeniedHandler to be used is a specific error page |
ExceptionHandlingConfigurer<H> |
ExceptionHandlingConfigurer.authenticationEntryPoint(AuthenticationEntryPoint authenticationEntryPoint)
Sets the
AuthenticationEntryPoint to be used. |
ExceptionHandlingConfigurer<H> |
ExceptionHandlingConfigurer.defaultAuthenticationEntryPointFor(AuthenticationEntryPoint entryPoint,
RequestMatcher preferredMatcher)
Sets a default
AuthenticationEntryPoint to be used which prefers
being invoked for the provided RequestMatcher . |
Copyright © 2019. All rights reserved.