Exception throwns by members of the security service.
331332333334335336337338339
} } } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(userName)); } return authenticated; }
162163164165166167168169
{ provider.getUserSecurityHandler().updateUserPrincipal(userPrincipal); } else { throw new SecurityException(SecurityException.INVALID_AUTHENTICATION_PROVIDER.create(authenticationProvider)); } }
178179180181182183184185
{ updateUserPrincipal(userPrincipal, defaultAuthenticationProvider); } else { throw new SecurityException(SecurityException.USER_ALREADY_EXISTS.create(userPrincipal.getName())); } }
195196197198199200201202
211212213214215216217218
{ updateUserPrincipal(userPrincipal, providerName); } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(userPrincipal.getName())); } }
228229230231232233234235
{ provider.getUserSecurityHandler().removeUserPrincipal(userPrincipal); } else { throw new SecurityException(SecurityException.INVALID_AUTHENTICATION_PROVIDER.create(authenticationProvider)); } }
272273274275276277278279
{ provider.getCredentialHandler().setPassword(userName,oldPassword,newPassword); } else { throw new SecurityException(SecurityException.INVALID_AUTHENTICATION_PROVIDER.create(authenticationProvider)); } }
288289290291292293294295
{ setPassword(userName, oldPassword, newPassword, providerName); } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(userName)); } }
320321322323324325326327
{ provider.getCredentialHandler().setPasswordEnabled(userName,enabled); } else { throw new SecurityException(SecurityException.INVALID_AUTHENTICATION_PROVIDER.create(authenticationProvider)); } }
336337338339340341342343
{ setPasswordEnabled(userName, enabled, providerName); } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(userName)); } }