Skip to content

Commit

Permalink
Move changePasswordService to javaconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Kehrlann committed Dec 20, 2024
1 parent fcb78f7 commit d1a9418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

import static org.cloudfoundry.identity.uaa.constants.OriginKeys.UAA;
import static org.springframework.http.HttpStatus.UNPROCESSABLE_ENTITY;

@Service
public class UaaChangePasswordService implements ChangePasswordService, ApplicationEventPublisherAware {

private final ScimUserProvisioning scimUserProvisioning;
Expand Down
5 changes: 0 additions & 5 deletions server/src/main/resources/spring/login-ui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,6 @@
<constructor-arg ref="globalPasswordPolicy"/>
</bean>

<bean id="changePasswordService" class="org.cloudfoundry.identity.uaa.account.UaaChangePasswordService">
<constructor-arg ref="scimUserProvisioning"/>
<constructor-arg ref="uaaPasswordValidator"/>
</bean>

<bean id="messagePropertiesSource" class="org.springframework.core.io.support.ResourcePropertySource">
<constructor-arg value="messages.properties"/>
</bean>
Expand Down

0 comments on commit d1a9418

Please sign in to comment.