Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.adf.model.binding
Class PermissionHelper

java.lang.Object
  extended by oracle.adf.model.binding.PermissionHelper


public class PermissionHelper
extends java.lang.Object

Field Summary
static int ATTRIBUTE_PERMISSION
           
static java.lang.String CREATE_ACTION
           
static java.lang.String DELETE_ACTION
           
static java.lang.String EDIT_ACTION
           
static int HAS_PERMISSION
           
static java.lang.String INVOKE_ACTION
           
static int METHOD_PERMISSION
           
static int NO_PERMISSION
           
static int NOT_CHECKED
           
static java.lang.String READ_ACTION
           
static int REGION_PERMISSION
           
static int ROWSET_PERMISSION
           
static java.lang.String UPDATE_ACTION
           
static java.lang.String VIEW_ACTION
           
static java.lang.String WRITE_ACTION
           

 

Constructor Summary
PermissionHelper()
           

 

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

 

Field Detail

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

Constructor Detail

PermissionHelper

public PermissionHelper()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.