mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -168,7 +168,7 @@ public class AuthenticationServiceImpl extends AbstractAuthenticationService imp
|
||||
String defaultGuestName = AuthenticationUtil.getGuestUserName();
|
||||
if (defaultGuestName == null || defaultGuestName.length() == 0)
|
||||
{
|
||||
throw new AuthenticationException("Guest authentication not supported");
|
||||
throw new AuthenticationException(GUEST_AUTHENTICATION_NOT_SUPPORTED);
|
||||
}
|
||||
preAuthenticationCheck(defaultGuestName);
|
||||
authenticationComponent.setGuestUserAsCurrentUser();
|
||||
|
Reference in New Issue
Block a user