Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.dataSecurity.util
Class FndDataSecurityProvider

java.lang.Object
  extended by oracle.jbo.server.security.AbstractDataSecurityProviderImpl
      extended by oracle.apps.fnd.applcore.dataSecurity.util.FndDataSecurityProvider
All Implemented Interfaces:
oracle.jbo.DataSecurityProvider

public class FndDataSecurityProvider
extends oracle.jbo.server.security.AbstractDataSecurityProviderImpl


Constructor Summary
FndDataSecurityProvider()
           
 
Method Summary
 oracle.adf.share.security.authorization.PrivilegeHolder checkPrivilege(oracle.jbo.Row row, java.lang.String privToCheck, oracle.jbo.AttributeDef attrDef, oracle.jbo.StructureDef defObject)
           
 java.util.Map.Entry<java.lang.String,java.lang.Class> getImplicitSecurityAttrSQLExpressionAndDomain(java.util.List<java.lang.String> privsToCheck, oracle.jbo.StructureDef defObject)
           
static java.lang.String[] getObjectMetaData(DataSecurityAMImpl dam, java.lang.String objectName)
           
 java.lang.String getPrivilegeFilterWhereClause(java.lang.String privsRequiredToView, oracle.jbo.StructureDef defObject, java.lang.String entityRefName)
          Gets the where clause for read restriction.
static void initializeSessionContext(DataSecurityAMImpl am)
          Deprecated.  
static void setSessionContext(DataSecurityAMImpl am, int sessionid)
          Deprecated.  
 
Methods inherited from class oracle.jbo.server.security.AbstractDataSecurityProviderImpl
getTransaction, initAndAttachElevatedSession, restoreOriginalSession, setTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FndDataSecurityProvider

public FndDataSecurityProvider()
Method Detail

checkPrivilege

public oracle.adf.share.security.authorization.PrivilegeHolder checkPrivilege(oracle.jbo.Row row,
                                                                              java.lang.String privToCheck,
                                                                              oracle.jbo.AttributeDef attrDef,
                                                                              oracle.jbo.StructureDef defObject)
Specified by:
checkPrivilege in interface oracle.jbo.DataSecurityProvider
Overrides:
checkPrivilege in class oracle.jbo.server.security.AbstractDataSecurityProviderImpl

getImplicitSecurityAttrSQLExpressionAndDomain

public java.util.Map.Entry<java.lang.String,java.lang.Class> getImplicitSecurityAttrSQLExpressionAndDomain(java.util.List<java.lang.String> privsToCheck,
                                                                                                           oracle.jbo.StructureDef defObject)
Specified by:
getImplicitSecurityAttrSQLExpressionAndDomain in interface oracle.jbo.DataSecurityProvider
Overrides:
getImplicitSecurityAttrSQLExpressionAndDomain in class oracle.jbo.server.security.AbstractDataSecurityProviderImpl

getPrivilegeFilterWhereClause

public java.lang.String getPrivilegeFilterWhereClause(java.lang.String privsRequiredToView,
                                                      oracle.jbo.StructureDef defObject,
                                                      java.lang.String entityRefName)
Gets the where clause for read restriction.

Specified by:
getPrivilegeFilterWhereClause in interface oracle.jbo.DataSecurityProvider
Overrides:
getPrivilegeFilterWhereClause in class oracle.jbo.server.security.AbstractDataSecurityProviderImpl
Parameters:
privsRequiredToView - The row filter privileges for read.
defObject - The definition object in which the filter apply.
entityRefName - The name of the entity reference in which the filter apply.
Returns:
A string containing the sql expression for read restriction where clause fragment.
See Also:
StructureDef

getObjectMetaData

public static java.lang.String[] getObjectMetaData(DataSecurityAMImpl dam,
                                                   java.lang.String objectName)

initializeSessionContext

public static void initializeSessionContext(DataSecurityAMImpl am)
Deprecated. 

Temporary API to initialize session context. session id is determined by JVM property "FND_SESSION_ID".

Parameters:
am - - DataSecurityAMImpl instance.

setSessionContext

public static void setSessionContext(DataSecurityAMImpl am,
                                     int sessionid)
Deprecated. 

Temporary API to initialize session context.

Parameters:
am - - DataSecurityAMImpl instance.
sessionid - - session id to initialize the connection with.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.