Package | Description |
---|---|
ome.model.internal |
Contains non-code-generated model objects.
|
ome.security.basic |
Basic OMERO security contextual classes
Basic classes that provide security context objects necessary to secure the implementation of
the OMERO server on a JBoss platform.
|
Modifier and Type | Method and Description |
---|---|
static Permissions.Right |
Permissions.Right.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permissions.Right[] |
Permissions.Right.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
Permissions.bit(Permissions.Role role,
Permissions.Right right)
returns the order of the bit representing the given
Permissions.Role and
Permissions.Right . |
Permissions |
Permissions.grant(Permissions.Role role,
Permissions.Right... rights)
|
boolean |
Permissions.isGranted(Permissions.Role role,
Permissions.Right right)
tests that a given
Permissions.Role has the given Permissions.Right . |
Permissions |
Permissions.revoke(Permissions.Role role,
Permissions.Right... rights)
|
protected static long |
Permissions.singleBitOn(Permissions.Role role,
Permissions.Right right)
returns a long with only a single 1 defined by role/right
|
protected static long |
Permissions.singleBitOut(Permissions.Role role,
Permissions.Right right)
returns a long with only a single 0 defined by role/right
|
Modifier and Type | Method and Description |
---|---|
protected Permissions.Right |
OmeroInterceptor.neededRight(java.lang.Class<?> changedClass,
java.lang.Class<?> linkedClass)
The default right need for a linkage is
WRITE . |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
AllGroupsSecurityFilter.isGranted(Permissions.Role role,
Permissions.Right right) |
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.