Fix for ALF-10823 - "allowGuestLogin=false" and Share then fills the alfresco error log with "Guest authentication not supported"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2011-12-16 15:27:14 +00:00
parent ea47379a29
commit 9b458b3655
4 changed files with 5 additions and 3 deletions

View File

@@ -620,7 +620,7 @@ public class ChainingAuthenticationServiceTest extends TestCase
catch (AuthenticationException ae)
{
// expected
assertTrue(ae.getMessage().contains("Guest authentication not supported"));
assertTrue(ae.getMessage().contains(AbstractAuthenticationService.GUEST_AUTHENTICATION_NOT_SUPPORTED));
}
assertNull(as.getCurrentUserName());
}