public class ComponentSecurity extends UifDictionaryBeanBase implements Serializable
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
componentCode, namespaceCode
Constructor and Description |
---|
ComponentSecurity() |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
Map<String,String> |
getAdditionalPermissionDetails()
Map of key value pairs that should be added as permission details when doing KIM permission checks for this
component
|
Map<String,String> |
getAdditionalRoleQualifiers()
Map of key value pairs that should be added as role qualifiers when doing KIM permission checks for this
component
|
String |
getComponentAttribute()
Component code that should be sent as permission detail when doing a permission check on this field
|
String |
getIdAttribute()
Id that should be sent as permission detail when doing a permission check on this field
|
String |
getNamespaceAttribute()
Namespace code that should be sent as permission detail when doing a permission check on this field
|
Boolean |
isEditAuthz()
Indicates whether the component has edit authorization and KIM should be consulted
|
Boolean |
isViewAuthz()
Indicates whether the component has view authorization and KIM should be consulted
|
void |
setAdditionalPermissionDetails(Map<String,String> additionalPermissionDetails)
Setter for the map of additional permission details
|
void |
setAdditionalRoleQualifiers(Map<String,String> additionalRoleQualifiers)
Setter for the map of additional role qualifiers
|
void |
setComponentAttribute(String componentAttribute)
Setter for the component code to use for details
|
void |
setEditAuthz(Boolean editAuthz)
Setter for the edit authorization flag
|
void |
setIdAttribute(String idAttribute)
Setter for the id to use for details
|
void |
setNamespaceAttribute(String namespaceAttribute)
Setter for the namespace code to use for details
|
void |
setViewAuthz(Boolean viewAuthz)
Setter for the view authorization flag
|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
public ComponentSecurity()
public Boolean isEditAuthz()
public void setEditAuthz(Boolean editAuthz)
editAuthz
- public Boolean isViewAuthz()
public void setViewAuthz(Boolean viewAuthz)
viewAuthz
- public String getNamespaceAttribute()
When the namespace code is a detail for a permission check, this property can be configured to override the namespace derived by the system
public void setNamespaceAttribute(String namespaceAttribute)
namespaceAttribute
- public String getComponentAttribute()
When the component code is a detail for a permission check, this property can be configured to override the component code derived by the system
public void setComponentAttribute(String componentAttribute)
componentAttribute
- public String getIdAttribute()
By 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
public void setIdAttribute(String idAttribute)
idAttribute
- public Map<String,String> getAdditionalPermissionDetails()
Any details given here that will override details with the same key that were derived by the system
public void setAdditionalPermissionDetails(Map<String,String> additionalPermissionDetails)
additionalPermissionDetails
- public Map<String,String> getAdditionalRoleQualifiers()
Any qualifiers given here that will override qualifiers with the same key that were derived by the system
public void setAdditionalRoleQualifiers(Map<String,String> additionalRoleQualifiers)
additionalRoleQualifiers
- Copyright © 2005–2016 The Kuali Foundation. All rights reserved.