|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
H - public interface HttpSecurityBuilder<H extends HttpSecurityBuilder<H>>
| Method Summary | ||
|---|---|---|
H |
addFilter(javax.servlet.Filter filter)
Adds a Filter that must be an instance of or extend one of the
Filters provided within the Security framework. |
|
H |
addFilterAfter(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> afterFilter)
Allows adding a Filter after one of the known Filter
classes. |
|
H |
addFilterBefore(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> beforeFilter)
Allows adding a Filter before one of the known Filter
classes. |
|
H |
authenticationProvider(AuthenticationProvider authenticationProvider)
Allows adding an additional AuthenticationProvider to be used |
|
|
getConfigurer(Class<C> clazz)
Gets the SecurityConfigurer by its class name or
null if not found. |
|
|
getSharedObject(Class<C> sharedType)
Gets a shared Object. |
|
|
removeConfigurer(Class<C> clazz)
Removes the SecurityConfigurer by its class name or
null if not found. |
|
|
setSharedObject(Class<C> sharedType,
C object)
Sets an object that is shared by multiple SecurityConfigurer. |
|
H |
userDetailsService(UserDetailsService userDetailsService)
Allows adding an additional UserDetailsService to be used |
|
| Methods inherited from interface org.springframework.security.config.annotation.SecurityBuilder |
|---|
build |
| Method Detail |
|---|
<C extends SecurityConfigurer<DefaultSecurityFilterChain,H>> C getConfigurer(Class<C> clazz)
SecurityConfigurer by its class name or
null if not found. Note that object hierarchies are not
considered.
clazz - the Class of the SecurityConfigurer to attempt to get.<C extends SecurityConfigurer<DefaultSecurityFilterChain,H>> C removeConfigurer(Class<C> clazz)
SecurityConfigurer by its class name or
null if not found. Note that object hierarchies are not
considered.
clazz - the Class of the SecurityConfigurer to attempt to remove.
SecurityConfigurer that was removed or null if not found
<C> void setSharedObject(Class<C> sharedType,
C object)
SecurityConfigurer.
sharedType - the Class to key the shared object by.object - the Object to store<C> C getSharedObject(Class<C> sharedType)
sharedType - the type of the shared Object
H authenticationProvider(AuthenticationProvider authenticationProvider)
AuthenticationProvider to be used
authenticationProvider - the AuthenticationProvider to be added
HttpSecurity for further customizations
H userDetailsService(UserDetailsService userDetailsService)
throws Exception
UserDetailsService to be used
userDetailsService - the UserDetailsService to be added
HttpSecurity for further customizations
Exception
H addFilterAfter(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> afterFilter)
Filter after one of the known Filter
classes. The known Filter instances are either a Filter
listed in addFilter(Filter) or a Filter that has already
been added using addFilterAfter(Filter, Class) or
addFilterBefore(Filter, Class).
filter - the Filter to register before the type afterFilterafterFilter - the Class of the known Filter.
HttpSecurity for further customizations
H addFilterBefore(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> beforeFilter)
Filter before one of the known Filter
classes. The known Filter instances are either a Filter
listed in addFilter(Filter) or a Filter that has already
been added using addFilterAfter(Filter, Class) or
addFilterBefore(Filter, Class).
filter - the Filter to register before the type beforeFilterbeforeFilter - the Class of the known Filter.
HttpSecurity for further customizationsH addFilter(javax.servlet.Filter filter)
Filter that must be an instance of or extend one of the
Filters provided within the Security framework. The method ensures that
the ordering of the Filters is automatically taken care of.
The ordering of the Filters is:
ChannelProcessingFilterConcurrentSessionFilterSecurityContextPersistenceFilterLogoutFilterX509AuthenticationFilterAbstractPreAuthenticatedProcessingFilterCasAuthenticationFilterUsernamePasswordAuthenticationFilterConcurrentSessionFilterOpenIDAuthenticationFilterDefaultLoginPageViewFilterConcurrentSessionFilterDigestAuthenticationFilterBasicAuthenticationFilterRequestCacheAwareFilterSecurityContextHolderAwareRequestFilterJaasApiIntegrationFilterRememberMeAuthenticationFilterAnonymousAuthenticationFilterSessionManagementFilterExceptionTranslationFilterFilterSecurityInterceptorSwitchUserFilter
filter - the Filter to add
HttpSecurity for further customizations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||