public interface User extends Identifiable
Modifier and Type | Method and Description |
---|---|
ObjectPermissionSet |
getActiveConnectionPermissions()
Returns all permissions given to this user regarding currently-active
connections.
|
Map<String,String> |
getAttributes()
Returns all attributes associated with this user.
|
ObjectPermissionSet |
getConnectionGroupPermissions()
Returns all connection group permissions given to this user.
|
ObjectPermissionSet |
getConnectionPermissions()
Returns all connection permissions given to this user.
|
String |
getPassword()
Returns this user's password.
|
ObjectPermissionSet |
getSharingProfilePermissions()
Returns all sharing profile permissions given to this user.
|
SystemPermissionSet |
getSystemPermissions()
Returns all system-level permissions given to this user.
|
ObjectPermissionSet |
getUserPermissions()
Returns all user permissions given to this user.
|
void |
setAttributes(Map<String,String> attributes)
Sets the given attributes.
|
void |
setPassword(String password)
Sets this user's password.
|
getIdentifier, setIdentifier
String getPassword()
void setPassword(String password)
password
- The password to set.Map<String,String> getAttributes()
void setAttributes(Map<String,String> attributes)
attributes
- A map of all attribute identifiers to their corresponding values.SystemPermissionSet getSystemPermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.ObjectPermissionSet getConnectionPermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.ObjectPermissionSet getConnectionGroupPermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.ObjectPermissionSet getSharingProfilePermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.ObjectPermissionSet getActiveConnectionPermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.ObjectPermissionSet getUserPermissions() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.Copyright © 2017. All rights reserved.