Class ComponentSecurity
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DictionaryBean,UifDictionaryBean
- Direct Known Subclasses:
CollectionGroupSecurity,FieldSecurity
In addition, properties such as additional role and permission details can be configured to use when checking the KIM permissions
Security subclasses exist adding on flags apporiate for that component
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()Map of key value pairs that should be added as permission details when doing KIM permission checks for this componentMap of key value pairs that should be added as role qualifiers when doing KIM permission checks for this componentComponent code that should be sent as permission detail when doing a permission check on this fieldId that should be sent as permission detail when doing a permission check on this fieldNamespace code that should be sent as permission detail when doing a permission check on this fieldIndicates whether the component has edit authorization and KIM should be consultedIndicates whether the component has view authorization and KIM should be consultedvoidsetAdditionalPermissionDetails(Map<String, String> additionalPermissionDetails) Setter for the map of additional permission detailsvoidsetAdditionalRoleQualifiers(Map<String, String> additionalRoleQualifiers) Setter for the map of additional role qualifiersvoidsetComponentAttribute(String componentAttribute) Setter for the component code to use for detailsvoidsetEditAuthz(Boolean editAuthz) Setter for the edit authorization flagvoidsetIdAttribute(String idAttribute) Setter for the id to use for detailsvoidsetNamespaceAttribute(String namespaceAttribute) Setter for the namespace code to use for detailsvoidsetViewAuthz(Boolean viewAuthz) Setter for the view authorization flagMethods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Constructor Details
-
ComponentSecurity
public ComponentSecurity()
-
-
Method Details
-
isEditAuthz
Indicates whether the component has edit authorization and KIM should be consulted- Returns:
- true if the component has edit authorization, false if not
-
setEditAuthz
Setter for the edit authorization flag- Parameters:
editAuthz-
-
isViewAuthz
Indicates whether the component has view authorization and KIM should be consulted- Returns:
- true if the component has view authorization, false if not
-
setViewAuthz
Setter for the view authorization flag- Parameters:
viewAuthz-
-
getNamespaceAttribute
Namespace code that should be sent as permission detail when doing a permission check on this fieldWhen the namespace code is a detail for a permission check, this property can be configured to override the namespace derived by the system
- Returns:
- namespace code
-
setNamespaceAttribute
Setter for the namespace code to use for details- Parameters:
namespaceAttribute-
-
getComponentAttribute
Component code that should be sent as permission detail when doing a permission check on this fieldWhen the component code is a detail for a permission check, this property can be configured to override the component code derived by the system
- Returns:
- component code
-
setComponentAttribute
Setter for the component code to use for details- Parameters:
componentAttribute-
-
getIdAttribute
Id that should be sent as permission detail when doing a permission check on this fieldBy default they system will send the component id as a permission detail, this property can be configured to send a different id for the permission check
- Returns:
- id
-
setIdAttribute
Setter for the id to use for details- Parameters:
idAttribute-
-
getAdditionalPermissionDetails
Map of key value pairs that should be added as permission details when doing KIM permission checks for this componentAny details given here that will override details with the same key that were derived by the system
- Returns:
- Mapinvalid input: '<'String, String>
-
setAdditionalPermissionDetails
Setter for the map of additional permission details- Parameters:
additionalPermissionDetails-
-
getAdditionalRoleQualifiers
Map of key value pairs that should be added as role qualifiers when doing KIM permission checks for this componentAny qualifiers given here that will override qualifiers with the same key that were derived by the system
- Returns:
- Mapinvalid input: '<'String, String>
-
setAdditionalRoleQualifiers
Setter for the map of additional role qualifiers- Parameters:
additionalRoleQualifiers-
-
finalize
-