|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase
public class BusinessObjectAuthorizerBase
Constructor Summary | |
---|---|
BusinessObjectAuthorizerBase()
|
Method Summary | |
---|---|
protected void |
addPermissionDetails(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument,
Map<String,String> attributes)
Override this method to populate the permission details from the primary business object or document. |
protected void |
addRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument,
Map<String,String> attributes)
Override this method to populate the role qualifier attributes from the primary business object or document. |
Map<String,String> |
getCollectionItemPermissionDetails(org.kuali.rice.kns.bo.BusinessObject collectionItemBusinessObject)
|
Map<String,String> |
getCollectionItemRoleQualifications(org.kuali.rice.kns.bo.BusinessObject collectionItemBusinessObject)
|
protected static DataDictionaryService |
getDataDictionaryService()
|
protected static org.kuali.rice.kim.service.IdentityManagementService |
getIdentityManagementService()
|
protected static KualiModuleService |
getKualiModuleService()
|
protected Map<String,String> |
getPermissionDetailValues(org.kuali.rice.kns.bo.BusinessObject businessObject)
Returns a permission details map based off data from the primary business object or the document. |
protected static org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> |
getPersonService()
|
protected Map<String,String> |
getRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument)
Returns a role qualification map based off data from the primary business object or the document. |
protected Map<String,String> |
getRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument,
String principalId)
|
boolean |
isAuthorized(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId)
|
boolean |
isAuthorized(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId,
Map<String,String> collectionOrFieldLevelPermissionDetails,
Map<String,String> collectionOrFieldLevelRoleQualification)
|
boolean |
isAuthorizedByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
String principalId)
|
boolean |
isAuthorizedByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
String principalId,
Map<String,String> collectionOrFieldLevelPermissionDetails,
Map<String,String> collectionOrFieldLevelRoleQualification)
|
protected boolean |
permissionExistsByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName)
|
protected boolean |
permissionExistsByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails)
|
protected boolean |
permissionExistsByTemplate(String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusinessObjectAuthorizerBase()
Method Detail |
---|
protected void addRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument, Map<String,String> attributes)
primaryBusinessObjectOrDocument
- the primary business object (i.e. the main BO instance behind
the lookup result row or inquiry) or the documentattributes
- role qualifiers will be added to this mapprotected void addPermissionDetails(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument, Map<String,String> attributes)
primaryBusinessObjectOrDocument
- the primary business object (i.e. the main BO instance behind
the lookup result row or inquiry) or the documentattributes
- permission details will be added to this mapprotected final boolean permissionExistsByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName)
protected final boolean permissionExistsByTemplate(String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails)
protected final boolean permissionExistsByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails)
public final boolean isAuthorized(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId)
isAuthorized
in interface BusinessObjectAuthorizer
public final boolean isAuthorizedByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, String principalId)
isAuthorizedByTemplate
in interface BusinessObjectAuthorizer
public final boolean isAuthorized(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId, Map<String,String> collectionOrFieldLevelPermissionDetails, Map<String,String> collectionOrFieldLevelRoleQualification)
isAuthorized
in interface BusinessObjectAuthorizer
public final boolean isAuthorizedByTemplate(org.kuali.rice.kns.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> collectionOrFieldLevelPermissionDetails, Map<String,String> collectionOrFieldLevelRoleQualification)
isAuthorizedByTemplate
in interface BusinessObjectAuthorizer
protected final Map<String,String> getRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument)
primaryBusinessObjectOrDocument
- the primary business object (i.e. the main BO instance behind
the lookup result row or inquiry) or the document
protected final Map<String,String> getRoleQualification(org.kuali.rice.kns.bo.BusinessObject primaryBusinessObjectOrDocument, String principalId)
public Map<String,String> getCollectionItemPermissionDetails(org.kuali.rice.kns.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemPermissionDetails
in interface BusinessObjectAuthorizer
BusinessObjectAuthorizer.getCollectionItemPermissionDetails(org.kuali.rice.kns.bo.BusinessObject)
public Map<String,String> getCollectionItemRoleQualifications(org.kuali.rice.kns.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemRoleQualifications
in interface BusinessObjectAuthorizer
BusinessObjectAuthorizer.getCollectionItemRoleQualifications(org.kuali.rice.kns.bo.BusinessObject)
protected final Map<String,String> getPermissionDetailValues(org.kuali.rice.kns.bo.BusinessObject businessObject)
primaryBusinessObjectOrDocument
- the primary business object (i.e. the main BO instance behind
the lookup result row or inquiry) or the document
protected static final org.kuali.rice.kim.service.IdentityManagementService getIdentityManagementService()
protected static final org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
protected static final KualiModuleService getKualiModuleService()
protected static final DataDictionaryService getDataDictionaryService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |