Package | Description |
---|---|
org.apache.guacamole.net.auth.permission |
Provides classes which describe the various permissions a Guacamole user
can be granted.
|
org.apache.guacamole.net.auth.simple |
Provides a basic AuthenticationProvider base class that can be used to create
simple AuthenticationProviders in the same way allowed by the old
authentication API.
|
Modifier and Type | Method and Description |
---|---|
ObjectPermission.Type |
ObjectPermission.getType() |
static ObjectPermission.Type |
ObjectPermission.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPermission.Type[] |
ObjectPermission.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectPermissionSet.addPermission(ObjectPermission.Type permission,
String identifier)
Adds the specified permission for the object having the given
identifier.
|
boolean |
ObjectPermissionSet.hasPermission(ObjectPermission.Type permission,
String identifier)
Tests whether the permission of the given type is granted for the
object having the given identifier.
|
void |
ObjectPermissionSet.removePermission(ObjectPermission.Type permission,
String identifier)
Removes the specified permission for the object having the given
identifier.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
ObjectPermissionSet.getAccessibleObjects(Collection<ObjectPermission.Type> permissions,
Collection<String> identifiers)
Tests whether this user has the specified permissions for the objects
having the given identifiers.
|
Constructor and Description |
---|
ObjectPermission(ObjectPermission.Type type,
String identifier)
Creates a new ObjectPermission having the given type and identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleObjectPermissionSet.addPermission(ObjectPermission.Type permission,
String identifier) |
boolean |
SimpleObjectPermissionSet.hasPermission(ObjectPermission.Type permission,
String identifier) |
void |
SimpleObjectPermissionSet.removePermission(ObjectPermission.Type permission,
String identifier) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
SimpleObjectPermissionSet.getAccessibleObjects(Collection<ObjectPermission.Type> permissionTypes,
Collection<String> identifiers) |
Copyright © 2017. All rights reserved.