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
Constructors Constructor Description PasswordManagementConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordManagementConfigurer<B>
changePasswordPage(java.lang.String changePasswordPage)
Sets the change password page.void
configure(B http)
Configure theSecurityBuilder
by setting the necessary properties on theSecurityBuilder
.-
Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, withObjectPostProcessor
-
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, postProcess, setBuilder
-
-
-
-
Method Detail
-
changePasswordPage
public PasswordManagementConfigurer<B> changePasswordPage(java.lang.String changePasswordPage)
Sets the change password page. Defaults toDEFAULT_CHANGE_PASSWORD_PAGE
.- Parameters:
changePasswordPage
- the change password page- Returns:
- the
PasswordManagementConfigurer
for further customizations
-
configure
public void configure(B http) throws java.lang.Exception
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:
java.lang.Exception
-
-