From 571afcb46c9c64532b32aeb7d0ebfc661513324e Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Wed, 11 Nov 2015 17:49:36 +0000 Subject: [PATCH] Merged 5.0.2-CLOUD42 (Cloud ) to 5.1.N (5.1.1) 117239 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.2-CLOUD42 (Cloud ) 114508 adavis: Merged BCRYPT to 5.0.2-CLOUD 113726 gjames: Fixing AuthenticationTest, switch char[] to String for MNT-14892 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@117331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../repo/security/authentication/AuthenticationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/test-java/org/alfresco/repo/security/authentication/AuthenticationTest.java b/source/test-java/org/alfresco/repo/security/authentication/AuthenticationTest.java index 6bb0100967..663ab67846 100644 --- a/source/test-java/org/alfresco/repo/security/authentication/AuthenticationTest.java +++ b/source/test-java/org/alfresco/repo/security/authentication/AuthenticationTest.java @@ -584,7 +584,7 @@ public class AuthenticationTest extends TestCase { dao.createUser("GUEST", DONT_CARE_PASSWORD); - UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken("GUEST", DONT_CARE_PASSWORD); + UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken("GUEST", new String(DONT_CARE_PASSWORD)); token.setAuthenticated(false); Authentication result = authenticationManager.authenticate(token);