public abstract class AbstractDataSecurityProviderImpl extends java.lang.Object implements DataSecurityProvider
| Constructor and Description |
|---|
AbstractDataSecurityProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Transaction getTransaction()
getTransaction in interface DataSecurityProviderTransactionpublic void setTransaction(DBTransaction dbTransaction)
public oracle.adf.share.security.authorization.PrivilegeHolder checkPrivilege(Row row, java.lang.String privToCheck, AttributeDef attrDef, StructureDef defObject)
DataSecurityProvidercheckPrivilege in interface DataSecurityProviderrow - 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)
DataSecurityProvidernull.getPrivilegeFilterWhereClause in interface DataSecurityProviderprivsRequiredToView - 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)
DataSecurityProvidergetImplicitSecurityAttrSQLExpression return an expression.getImplicitSecurityAttrSQLExpressionAndDomain in interface DataSecurityProviderprivsToCheck - The privileges for the SQL expression.defObject - The entity or view definition.Map of SQL expression and domain class of security attributes.StructureDefpublic void initAndAttachElevatedSession(java.lang.String userName)
public void restoreOriginalSession()