|
@@ -85,9 +85,9 @@ public class LdapShaPasswordEncoder implements PasswordEncoder {
|
|
|
sha = MessageDigest.getInstance("SHA");
|
|
|
sha.update(rawPass.getBytes("UTF-8"));
|
|
|
} catch (java.security.NoSuchAlgorithmException e) {
|
|
|
- throw new IllegalStateException("No SHA implementation available!", e);
|
|
|
+ throw new IllegalStateException("No SHA implementation available!");
|
|
|
} catch (UnsupportedEncodingException ue) {
|
|
|
- throw new IllegalStateException("UTF-8 not supported!", ue);
|
|
|
+ throw new IllegalStateException("UTF-8 not supported!");
|
|
|
}
|
|
|
|
|
|
if (salt != null) {
|