Skip navigation links
oracle.adf.model.binding
Class PermissionHelper
java.lang.Object
oracle.adf.model.binding.PermissionHelper
-
public class PermissionHelper
- extends java.lang.Object
Method Summary |
static oracle.adf.share.security.PermissionHolder |
createPermissionHolder(oracle.adf.share.security.authorization.PermissionType permType, java.lang.String name)
*** For internal framework use only *** |
static java.lang.Object |
createPermissionInstance(java.lang.String permClassName, java.lang.String target, java.lang.String actions)
Deprecated. since 11.1.0.0 Applications should not use this. |
static java.lang.String |
getPermissionClassName(int id)
|
static java.lang.String |
getReadAction(java.lang.String permClass)
|
static boolean |
hasPermission(java.security.Permission permission)
|
static boolean |
hasPermission(oracle.adf.share.security.SecurityContext secCtx, java.security.Permission permission)
|
static boolean |
hasPermission(oracle.adf.share.security.SecurityContext secCtx, java.lang.String target, java.lang.String actions)
|
static boolean |
hasPrivilege(Row row, int attrIndex, java.lang.String action)
|
static boolean |
isAuthorizationEnabled()
|
static boolean |
isSecurityMetadataEnabled()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_PERMISSION
public static final int ATTRIBUTE_PERMISSION
-
- See Also:
- Constant Field Values
ROWSET_PERMISSION
public static final int ROWSET_PERMISSION
-
- See Also:
- Constant Field Values
REGION_PERMISSION
public static final int REGION_PERMISSION
-
- See Also:
- Constant Field Values
METHOD_PERMISSION
public static final int METHOD_PERMISSION
-
- See Also:
- Constant Field Values
UPDATE_ACTION
public static final java.lang.String UPDATE_ACTION
-
- See Also:
- Constant Field Values
READ_ACTION
public static final java.lang.String READ_ACTION
-
- See Also:
- Constant Field Values
WRITE_ACTION
public static final java.lang.String WRITE_ACTION
-
- See Also:
- Constant Field Values
CREATE_ACTION
public static final java.lang.String CREATE_ACTION
-
- See Also:
- Constant Field Values
DELETE_ACTION
public static final java.lang.String DELETE_ACTION
-
- See Also:
- Constant Field Values
EDIT_ACTION
public static final java.lang.String EDIT_ACTION
-
- See Also:
- Constant Field Values
VIEW_ACTION
public static final java.lang.String VIEW_ACTION
-
- See Also:
- Constant Field Values
INVOKE_ACTION
public static final java.lang.String INVOKE_ACTION
-
- See Also:
- Constant Field Values
NOT_CHECKED
public static final int NOT_CHECKED
-
- See Also:
- Constant Field Values
NO_PERMISSION
public static final int NO_PERMISSION
-
- See Also:
- Constant Field Values
HAS_PERMISSION
public static final int HAS_PERMISSION
-
- See Also:
- Constant Field Values
PermissionHelper
public PermissionHelper()
createPermissionInstance
public static java.lang.Object createPermissionInstance(java.lang.String permClassName,
java.lang.String target,
java.lang.String actions)
- Deprecated. since 11.1.0.0 Applications should not use this.
createPermissionHolder
public static oracle.adf.share.security.PermissionHolder createPermissionHolder(oracle.adf.share.security.authorization.PermissionType permType,
java.lang.String name)
- *** For internal framework use only ***
hasPermission
public static boolean hasPermission(oracle.adf.share.security.SecurityContext secCtx,
java.lang.String target,
java.lang.String actions)
hasPermission
public static boolean hasPermission(oracle.adf.share.security.SecurityContext secCtx,
java.security.Permission permission)
getPermissionClassName
public static java.lang.String getPermissionClassName(int id)
getReadAction
public static java.lang.String getReadAction(java.lang.String permClass)
isAuthorizationEnabled
public static final boolean isAuthorizationEnabled()
isSecurityMetadataEnabled
public static final boolean isSecurityMetadataEnabled()
hasPermission
public static boolean hasPermission(java.security.Permission permission)
hasPrivilege
public static boolean hasPrivilege(Row row,
int attrIndex,
java.lang.String action)
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.