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(PgxUser user, PgxResourcePermission permission)
Blocking version of
PgxGraph.grantPermissionAsync(PgxUser, PgxResourcePermission) . |
PgxFuture<java.lang.Void> |
PgxGraph.grantPermissionAsync(PgxUser user, PgxResourcePermission permission)
Grants a permission on this graph to the given user.
|
void |
PgxGraph.revokePermission(PgxUser user)
Blocking version of
PgxGraph.revokePermissionAsync(PgxUser) . |
PgxFuture<java.lang.Void> |
PgxGraph.revokePermissionAsync(PgxUser user)
Revokes all permissions on this graph from the given user.
|
Modifier and Type | Field and Description |
---|---|
static PgxUser |
PgxUser.UNAUTHENTICATED_USER |
Constructor and Description |
---|
AuthorizationException(PgxUser user, PgxGeneralPermission permission) |
AuthorizationException(PgxUser user, PgxResource resource) |