return null;
}
public static void updateUser(SSOManager sso, PortletRequest request, SSOSite site, String newPrincipal, String newPassword) throws SSOException
{
SSOUser remoteUser = getRemoteUser(sso, request, site);
if (remoteUser != null)
{
if (!remoteUser.getName().equals(newPrincipal))
{
// rename SSO user and update
remoteUser.setName(newPrincipal);
sso.updateUser(remoteUser);
}
sso.setPassword(remoteUser, newPassword);
}
else