Package | Description |
---|---|
oracle.odi.core.security |
This package (and its sub packages) implements the security layer for ODI SDK including login authentication, password management and privileges check.
|
Modifier and Type | Field and Description |
---|---|
static PermissionType |
PermissionType.EXECUTE
EXECUTE privileges, to execute.
|
static PermissionType |
PermissionType.GENERATE
GENERATE privileges, to generate script and code.
|
static PermissionType |
PermissionType.READ
READ privileges, to view, consult an entity.
|
static PermissionType |
PermissionType.WRITE
WRITE privileges, to modify an entity.
|
Modifier and Type | Method and Description |
---|---|
PermissionType |
PermissionDeniedException.getPermissionType()
Return the permission type to check.
|
static PermissionType |
PermissionType.methodToPermissionType(java.lang.String methodName)
INTERNAL: Return permission type object based on java method name.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityManager.checkPermission(IRepositoryEntity entity,
PermissionType pPermissionType)
This is a helper method to check the Permission on the current authentication.
|
static Permission |
Permission.getGenericPermission(PermissionType pType,
java.lang.Class pEntityClass)
Return Permission object for certain entity type and priviledge.
|
static Permission |
Permission.getInstancePermission(PermissionType pType,
IRepositoryEntity pEntity)
Return Permission object for certain entity and priviledge.
|
static Permission |
Permission.getInstancePermission(PermissionType pType,
IRepositoryEntity pParentEntity,
java.lang.Class pChildEntityClass)
Return Permission object for certain child type under certain parent entity and priviledge.
|
boolean |
SecurityManager.isAuthorized(IRepositoryEntity pEntity,
PermissionType pPermissionType)
Almost same as above method, but take in entity and permission type directly.
|
static PermissionDeniedException |
PermissionDeniedException.permissionDeniedForEntityClass(java.lang.Class entityClass,
PermissionType pt,
long id)
Create PermissionDetailedException for Entity Class with default error message
Messages.ERR_SECURITY_OPERATION_IS_NOT_GRANTED . |
static PermissionDeniedException |
PermissionDeniedException.permissionDeniedForEntityClass(java.lang.Class entityClass,
PermissionType pt,
long id,
oracle.odi.internal.util.MessageHandle msg,
java.lang.Object[] pMsgArgs)
Create PermissionDetailedException for Entity Class.
|
static PermissionDeniedException |
PermissionDeniedException.permissionDeniedForSnpClass(java.lang.Class snpClass,
PermissionType pt,
long id)
Create PermissionDetailedException for Snp Class with default error message
Messages.ERR_SECURITY_OPERATION_IS_NOT_GRANTED . |
static PermissionDeniedException |
PermissionDeniedException.permissionDeniedForSnpClass(java.lang.Class snpClass,
PermissionType pt,
long id,
java.lang.Throwable cause)
Create PermissionDetailedException for Snp Class with default error message
Messages.ERR_SECURITY_OPERATION_IS_NOT_GRANTED . |
static PermissionDeniedException |
PermissionDeniedException.permissionDeniedForSnpClass(java.lang.Class snpClass,
PermissionType pt,
long id,
java.lang.Throwable cause,
oracle.odi.internal.util.MessageHandle msg,
java.lang.Object[] pMsgArgs)
Create PermissionDetailedException for Snp Class.
|
void |
Authentication.updateInstanceSecurityCache(java.lang.Class entityClass,
int entityId,
PermissionType permissionType) |
Constructor and Description |
---|
PermissionDeniedException(java.lang.Class oclass,
PermissionType pt,
long id,
boolean snp)
Deprecated.
since 11.1.1.6.0. Instead of using constructor directly, appropriate method
(
#getExceptionForSnpClass() or #getExceptionForEntityClass() ) should be called. |
PermissionDeniedException(java.lang.Class oclass,
PermissionType pt,
long id,
boolean snp,
oracle.odi.internal.util.MessageHandle msg,
java.lang.Object[] pMsgArgs)
Deprecated.
since 11.1.1.6.0. Instead of using constructor directly, appropriate method
(
#getExceptionForSnpClass() or #getExceptionForEntityClass() ) should be called. |