mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.1-MC1 (5.1.0) to HEAD (5.1)
119049 adavis: Merged 5.1.N (5.1.1) to 5.1-MC1 (5.1.0) 117331 adavis: 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/HEAD/root@119887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -584,7 +584,7 @@ public class AuthenticationTest extends TestCase
|
|||||||
{
|
{
|
||||||
dao.createUser("GUEST", DONT_CARE_PASSWORD);
|
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);
|
token.setAuthenticated(false);
|
||||||
|
|
||||||
Authentication result = authenticationManager.authenticate(token);
|
Authentication result = authenticationManager.authenticate(token);
|
||||||
|
Reference in New Issue
Block a user