Class ServerHttpSecurity.PasswordManagementSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.PasswordManagementSpec
- Enclosing class:
- ServerHttpSecurity
Configures password management.
- Since:
- 5.6
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand()
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.changePasswordPage
(String changePasswordPage) Sets the change password page.protected void
configure
(ServerHttpSecurity http)
-
Method Details
-
changePasswordPage
Sets the change password page. Defaults toDEFAULT_CHANGE_PASSWORD_PAGE
.- Parameters:
changePasswordPage
- the change password page- Returns:
- the
ServerHttpSecurity.PasswordManagementSpec
to continue configuring
-
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseServerHttpSecurity.passwordManagement(Customizer)
insteadAllows method chaining to continue configuring theServerHttpSecurity
.- Returns:
- the
ServerHttpSecurity
to continue configuring
-
configure
-