Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.0.0)

E10686-01

oracle.adf.share.security
Class PermissionEvaluator

java.lang.Object
  extended by java.util.AbstractMap
      extended by oracle.adf.share.security.SecurityContextMap
          extended by oracle.adf.share.security.PermissionEvaluator
All Implemented Interfaces:
java.util.Map

public class PermissionEvaluator
extends SecurityContextMap


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
protected static ADFLogger _adfSecLogger
           
static java.lang.String JAAS_PERMISSION_ACTION
           
static java.lang.String REGION_PERMISSION_CLASS
           
static java.lang.String TASKFLOW_PERMISSION_CLASS
           
 
Constructor Summary
PermissionEvaluator(SecurityContext secCtx)
          Constructor
PermissionEvaluator(SecurityContext secCtx, java.lang.String permissionClass)
           
 
Method Summary
protected  java.lang.Object internalGet(java.lang.String key)
          Get the permissions for a given target.
 
Methods inherited from class oracle.adf.share.security.SecurityContextMap
entrySet, equals, get, hashCode
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_adfSecLogger

protected static ADFLogger _adfSecLogger

TASKFLOW_PERMISSION_CLASS

public static final java.lang.String TASKFLOW_PERMISSION_CLASS
See Also:
Constant Field Values

REGION_PERMISSION_CLASS

public static final java.lang.String REGION_PERMISSION_CLASS
See Also:
Constant Field Values

JAAS_PERMISSION_ACTION

public static final java.lang.String JAAS_PERMISSION_ACTION
See Also:
Constant Field Values
Constructor Detail

PermissionEvaluator

public PermissionEvaluator(SecurityContext secCtx)
Constructor


PermissionEvaluator

public PermissionEvaluator(SecurityContext secCtx,
                           java.lang.String permissionClass)
Method Detail

internalGet

protected java.lang.Object internalGet(java.lang.String key)
Get the permissions for a given target. There's two different formats the key can be in
  • 1) just the target. eg. 'mytaskflow'
    In this case, all the other values are defaulted.
  • mytaskflow 2) as a series of parameter & value pairs, seperated by a ; character
    For example
    'target=; permissionClass=MyClass; action=mypriv'
    In this case we tokenize what we passed and work out what we were given. Any required value not provided will be defaulted.
  • Overrides:
    internalGet in class SecurityContextMap

    Oracle Fusion Middleware Java API Reference for Oracle ADF Share
    11g Release 1 (11.1.1.0.0)

    E10686-01

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