Package org.apache.guacamole.net.auth
Interface Permissions
- All Known Implementing Classes:
AbstractUser
,AbstractUserGroup
,DelegatingUser
,DelegatingUserGroup
,SimpleUser
,SimpleUserGroup
public interface Permissions
An object which may be granted permissions to access/manipulate various
other objects or aspects of the system. The permissions granted are exposed
through subclasses of PermissionSet, and may be mutable depending on the
access level of the current user.
-
Method Summary
Modifier and TypeMethodDescriptionReturns all permissions given to this object regarding currently-active connections.Returns all connection group permissions given to this object.Returns all connection permissions given to this object.Returns all sharing profile permissions given to this object.Returns all system-level permissions given to this object.Returns all user group permissions given to this object.Returns all user permissions given to this object.
-
Method Details
-
getActiveConnectionPermissions
Returns all permissions given to this object regarding currently-active connections.- Returns:
- An ObjectPermissionSet of all active connection permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getConnectionGroupPermissions
Returns all connection group permissions given to this object.- Returns:
- An ObjectPermissionSet of all connection group permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getConnectionPermissions
Returns all connection permissions given to this object.- Returns:
- An ObjectPermissionSet of all connection permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getSharingProfilePermissions
Returns all sharing profile permissions given to this object.- Returns:
- An ObjectPermissionSet of all sharing profile permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getSystemPermissions
Returns all system-level permissions given to this object.- Returns:
- A SystemPermissionSet of all system-level permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getUserPermissions
Returns all user permissions given to this object.- Returns:
- An ObjectPermissionSet of all user permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-
getUserGroupPermissions
Returns all user group permissions given to this object.- Returns:
- An ObjectPermissionSet of all user group permissions granted to this object.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all permissions is not allowed.
-