Source:
private java.lang.String changeUserPasswd ( javax.servlet.http.HttpServletRequest request , org.ovirt.engine.core.sso.utils.Credentials userCredentials ) throws org.ovirt.engine.core.sso.utils.AuthenticationException { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "Calling Authn to change password for user '{}@{}'." , userCredentials.getUsername ( ) , userCredentials.getProfile ( ) ) ; org.ovirt.engine.core.sso.utils.AuthenticationUtils.changePassword ( ssoContext , request , userCredentials ) ; org.ovirt.engine.core.sso.utils.SSOUtils.getSsoSession ( request ) . setChangePasswdCredentials ( null ) ; if ( org.ovirt.engine.core.sso.utils.SSOUtils.isUserAuthenticated ( request ) ) { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "User is authenticated updating password in SSOSession for password-access scope." ) ; org.ovirt.engine.core.sso.utils.SSOUtils.persistUserPassword ( request , org.ovirt.engine.core.sso.utils.SSOUtils.getSsoSession ( request ) , userCredentials.getNewCredentials ( ) ) ; } else { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "User password change succeeded, redirecting to login page." ) ; org.ovirt.engine.core.sso.utils.SSOUtils.getSsoSession ( request ) . setLoginMessage ( ssoContext.getLocalizationUtils ( ) . localize ( SSOConstants.APP_MSG_CHANGE_PASSWORD_SUCCEEDED , ( ( java.util.Locale ) ( request.getAttribute ( SSOConstants.LOCALE ) ) ) ) ) ; } return ( request.getContextPath ( ) ) + ( org.ovirt.engine.core.sso.utils.SSOConstants.INTERACTIVE_LOGIN_URI ) ; }

Target:
private java.lang.String changeUserPasswd ( javax.servlet.http.HttpServletRequest request , org.ovirt.engine.core.sso.utils.Credentials userCredentials ) throws org.ovirt.engine.core.sso.utils.AuthenticationException { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "Calling Authn to change password for user '{}@{}'." , userCredentials.getUsername ( ) , userCredentials.getProfile ( ) ) ; org.ovirt.engine.core.sso.utils.AuthenticationUtils.changePassword ( ssoContext , request , userCredentials ) ; org.ovirt.engine.core.sso.utils.SsoUtils.getSsoSession ( request ) . setChangePasswdCredentials ( null ) ; if ( org.ovirt.engine.core.sso.utils.SsoUtils.isUserAuthenticated ( request ) ) { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "User is authenticated updating password in SsoSession for password-access scope." ) ; org.ovirt.engine.core.sso.utils.SsoUtils.persistUserPassword ( request , org.ovirt.engine.core.sso.utils.SsoUtils.getSsoSession ( request ) , userCredentials.getNewCredentials ( ) ) ; } else { org.ovirt.engine.core.sso.servlets.InteractiveChangePasswdServlet.log.debug ( "User password change succeeded, redirecting to login page." ) ; org.ovirt.engine.core.sso.utils.SsoUtils.getSsoSession ( request ) . setLoginMessage ( ssoContext.getLocalizationUtils ( ) . localize ( SsoConstants.APP_MSG_CHANGE_PASSWORD_SUCCEEDED , ( ( java.util.Locale ) ( request.getAttribute ( SsoConstants.LOCALE ) ) ) ) ) ; } return ( request.getContextPath ( ) ) + ( org.ovirt.engine.core.sso.utils.SsoConstants.INTERACTIVE_LOGIN_URI ) ; }