|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.security.service.DefaultAnonymousUserPermissionsService
public class DefaultAnonymousUserPermissionsService
| Constructor Summary | |
|---|---|
DefaultAnonymousUserPermissionsService(PermissionManager permissionManager,
SpacePermissionManager spacePermissionManager)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAnonymousUserPermissionsService(PermissionManager permissionManager,
SpacePermissionManager spacePermissionManager)
| Method Detail |
|---|
public void setUsePermission(boolean enabled)
AnonymousUserPermissionsServiceSet 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.
setUsePermission in interface AnonymousUserPermissionsServiceenabled - if true then allow the anonymous user 'use' permission; otherwise disallow.public void setViewUserProfilesPermission(boolean enabled)
AnonymousUserPermissionsService
setViewUserProfilesPermission in interface AnonymousUserPermissionsServiceenabled - if true then assign the permission; otherwise remove it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||