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(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(Class<?> changedClass,
Class<?> linkedClass)
The default right need for a linkage is WRITE
If however, this is only an annotation or only a viewing,
then less permission is needed.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
AllGroupsSecurityFilter.isGranted(Permissions.Role role,
Permissions.Right right) |
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.