Class PasswordManagementConfigurer<B extends HttpSecurityBuilder<B>>
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<PasswordManagementConfigurer<B>,B>
org.springframework.security.config.annotation.web.configurers.PasswordManagementConfigurer<B>
- All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,
B>
public final class PasswordManagementConfigurer<B extends HttpSecurityBuilder<B>>
extends AbstractHttpConfigurer<PasswordManagementConfigurer<B>,B>
Adds password management support.
- Since:
- 5.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchangePasswordPage
(String changePasswordPage) Sets the change password page.void
Configure theSecurityBuilder
by setting the necessary properties on theSecurityBuilder
.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, getSecurityContextHolderStrategy, withObjectPostProcessor
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, postProcess, setBuilder
-
Constructor Details
-
PasswordManagementConfigurer
public PasswordManagementConfigurer()
-
-
Method Details
-
changePasswordPage
Sets the change password page. Defaults toDEFAULT_CHANGE_PASSWORD_PAGE
.- Parameters:
changePasswordPage
- the change password page- Returns:
- the
PasswordManagementConfigurer
for further customizations
-
configure
Configure theSecurityBuilder
by setting the necessary properties on theSecurityBuilder
.- Specified by:
configure
in interfaceSecurityConfigurer<DefaultSecurityFilterChain,
B extends HttpSecurityBuilder<B>> - Overrides:
configure
in classSecurityConfigurerAdapter<DefaultSecurityFilterChain,
B extends HttpSecurityBuilder<B>> - Throws:
Exception
-