|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.security.AbstractDataSecurityProviderImpl
public abstract class AbstractDataSecurityProviderImpl
Constructor Summary | |
---|---|
AbstractDataSecurityProviderImpl()
|
Method Summary | |
---|---|
oracle.adf.share.security.authorization.PrivilegeHolder |
checkPrivilege(Row row,
java.lang.String privToCheck,
AttributeDef attrDef,
StructureDef defObject)
Checks row instance privilege. |
java.util.Map.Entry<java.lang.String,java.lang.Class> |
getImplicitSecurityAttrSQLExpressionAndDomain(java.util.List<java.lang.String> privsToCheck,
StructureDef defObject)
Optional: XDB data security requires additional sql attribute sys_get_aclids(table_alias, privsToCheck) for getting aclids of row instances in the query. |
java.lang.String |
getPrivilegeFilterWhereClause(java.lang.String privsRequiredToView,
StructureDef defObject,
java.lang.String entityRefName)
Gets the where clause for read restriction. |
Transaction |
getTransaction()
|
void |
initAndAttachElevatedSession(java.lang.String userName)
|
void |
restoreOriginalSession()
|
void |
setTransaction(DBTransaction dbTransaction)
Internal: Applications should not use this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDataSecurityProviderImpl()
Method Detail |
---|
public Transaction getTransaction()
getTransaction
in interface DataSecurityProvider
Transaction
public void setTransaction(DBTransaction dbTransaction)
public oracle.adf.share.security.authorization.PrivilegeHolder checkPrivilege(Row row, java.lang.String privToCheck, AttributeDef attrDef, StructureDef defObject)
DataSecurityProvider
checkPrivilege
in interface DataSecurityProvider
row
- The row instance to be checked for privilege.privToCheck
- The privilege to be checked.attrDef
- The attribute definition.defObject
- The entity or view def.
PrivilegeHoder
for the privilege checked.StructureDef
,
oracle.jbo.PrivilegeHolder
public java.lang.String getPrivilegeFilterWhereClause(java.lang.String privsRequiredToView, StructureDef defObject, java.lang.String entityRefName)
DataSecurityProvider
null
.
getPrivilegeFilterWhereClause
in interface DataSecurityProvider
privsRequiredToView
- The row filter privileges for read.defObject
- The definition object in which the filter apply.entityRefName
- The name of the entiry reference in which the filter apply.
StructureDef
public java.util.Map.Entry<java.lang.String,java.lang.Class> getImplicitSecurityAttrSQLExpressionAndDomain(java.util.List<java.lang.String> privsToCheck, StructureDef defObject)
DataSecurityProvider
getImplicitSecurityAttrSQLExpression
return an expression.
getImplicitSecurityAttrSQLExpressionAndDomain
in interface DataSecurityProvider
privsToCheck
- The privileges for the SQL expression.defObject
- The entity or view definition.
Map
of SQL expression and domain class of security attributes.StructureDef
public void initAndAttachElevatedSession(java.lang.String userName)
public void restoreOriginalSession()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |