public class JAASDataSecurityProviderImpl extends AbstractDataSecurityProviderImpl
| Constructor and Description |
|---|
JAASDataSecurityProviderImpl() |
| 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.
|
getTransaction, initAndAttachElevatedSession, restoreOriginalSession, setTransactionpublic oracle.adf.share.security.authorization.PrivilegeHolder checkPrivilege(Row row, java.lang.String privToCheck, AttributeDef attrDef, StructureDef defObject)
DataSecurityProvidercheckPrivilege in interface DataSecurityProvidercheckPrivilege in class AbstractDataSecurityProviderImplrow - 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 DataSecurityProvidergetPrivilegeFilterWhereClause in class AbstractDataSecurityProviderImplprivsRequiredToView - 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 DataSecurityProvidergetImplicitSecurityAttrSQLExpressionAndDomain in class AbstractDataSecurityProviderImplprivsToCheck - The privileges for the SQL expression.defObject - The entity or view definition.Map of SQL expression and domain class of security attributes.StructureDef