1
0
mirror of synced 2026-08-06 02:08:01 +00:00

[maven-release-plugin] copy for tag release_2_0_0_RC1

This commit is contained in:
Luke Taylor
2008-04-01 15:02:44 +00:00
parent 4d306c2c1e
commit fd04adf2f3
28 changed files with 70 additions and 81 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<parent>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-parent</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.0.0-RC1</version>
</parent>
<packaging>bundle</packaging>
<artifactId>spring-security-core</artifactId>
@@ -64,7 +64,7 @@ public class PasswordEncoderParser {
boolean useBase64 = false;
if (StringUtils.hasText(element.getAttribute(ATT_BASE_64))) {
useBase64 = Boolean.parseBoolean(element.getAttribute(ATT_BASE_64));
useBase64 = new Boolean(element.getAttribute(ATT_BASE_64)).booleanValue();
}
String ref = element.getAttribute(ATT_REF);
@@ -49,6 +49,7 @@ import org.springframework.util.Assert;
*
* @author Ben Alex
* @verion $Id$
* @since 2.0
*
*/
public final class ProtectPointcutPostProcessor implements BeanPostProcessor {
@@ -88,7 +89,7 @@ public final class ProtectPointcutPostProcessor implements BeanPostProcessor {
try {
methods = bean.getClass().getMethods();
} catch (Exception e) {
throw new IllegalStateException(e);
throw new IllegalStateException(e.getMessage());
}
// Check to see if any of those methods are compatible with our pointcut expressions
@@ -51,7 +51,7 @@ public class Md4PasswordEncoder extends BaseDigestPasswordEncoder {
try {
passBytes = saltedPass.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
throw new IllegalStateException("UTF-8 not supported!", e);
throw new IllegalStateException("UTF-8 not supported!");
}
Md4 md4 = new Md4();
@@ -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) {