Package | Description |
---|---|
oracle.pgx.api |
This package contains the main Java APIs.
|
oracle.pgx.common.auth |
This package contains classes and utilities related to the general and resource permissions.
|
Modifier and Type | Method and Description |
---|---|
void |
PgxGraph.grantPermission(PgxRole role, PgxResourcePermission permission)
Blocking version of
PgxGraph.grantPermissionAsync(PgxRole, PgxResourcePermission) . |
PgxFuture<java.lang.Void> |
PgxGraph.grantPermissionAsync(PgxRole role, PgxResourcePermission permission)
Grants a permission on this graph to the given role.
|
void |
PgxGraph.revokePermission(PgxRole role)
Blocking version of
PgxGraph.revokePermissionAsync(PgxRole) . |
PgxFuture<java.lang.Void> |
PgxGraph.revokePermissionAsync(PgxRole role)
Revokes all permissions on this graph from the given role.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<PgxRole> |
PgxUser.getRoles() |
Constructor and Description |
---|
PgxUser(java.lang.String name, java.util.Set<PgxRole> roles) |
PgxUser(java.lang.String name, java.util.Set<PgxRole> roles, java.util.Map<java.lang.Object,java.lang.Object> context) |