public class

DefaultAnonymousUserPermissionsService

extends Object
implements AnonymousUserPermissionsService
java.lang.Object
   ↳ com.atlassian.confluence.security.service.DefaultAnonymousUserPermissionsService

Summary

Public Constructors
DefaultAnonymousUserPermissionsService(PermissionManager permissionManager, SpacePermissionManager spacePermissionManager)
Public Methods
void setUsePermission(boolean enabled)

Set the 'use confluence' permission for the anonymous Confluence user.

void setViewUserProfilesPermission(boolean enabled)
Set the 'view user profiles' permission for the anonymous Confluence user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.security.service.AnonymousUserPermissionsService

Public Constructors

public DefaultAnonymousUserPermissionsService (PermissionManager permissionManager, SpacePermissionManager spacePermissionManager)

Public Methods

public void setUsePermission (boolean enabled)

Set the 'use confluence' permission for the anonymous Confluence user.

Note: This is the guard permission for any other anonymous user permissions. If this one is removed then any others will be too.

Parameters
enabled if true then allow the anonymous user 'use' permission; otherwise disallow.

public void setViewUserProfilesPermission (boolean enabled)

Set the 'view user profiles' permission for the anonymous Confluence user.

Parameters
enabled if true then assign the permission; otherwise remove it.