public class AccessPermissionEvaluatorImpl extends Object implements AccessPermissionEvaluator
AccessPermissionEvaluator| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | allowConstraint | 
| protected String | constraintCode | 
| protected String[] | matchValues | 
| protected boolean | notOperator | 
| protected String | operatorCode | 
| protected Map<String,Object> | otherKeyFieldValues | 
| protected boolean | performEqualMatch | 
| protected boolean | performGreaterThanMatch | 
| protected boolean | performLessThanMatch | 
| protected org.kuali.rice.kim.api.identity.Person | person | 
| protected String | propertyValue | 
| Constructor and Description | 
|---|
| AccessPermissionEvaluatorImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | initializeAfterPropsSet()Hooks for permission evaluators to do additional setup after properties have been set | 
| protected boolean | isMatch(String matchValue,
              String value)Determines whether two values match performing an equal, greater than, or less than check and also considering wildcards | 
| void | setConstraintCode(String constraintCode)Setter for the constraint code found on the user's qualification record | 
| protected void | setMatchValues()Sets the values to match on based on given value and other properties | 
| void | setOperatorCode(String operatorCode)Setter for the operator code found on the user's qualification record | 
| void | setOtherKeyFieldValueMap(Map<String,Object> otherKeyFieldValues)Setter for the Map that holds values for the other key fields (if any) | 
| void | setPerson(org.kuali.rice.kim.api.identity.Person person)Setter for the person who the permission is being evaluated for | 
| void | setPropertyValue(String propertyValue)Setter for the property value found on the user's qualification record | 
| boolean | valueIsAllowed(String value)Evaluates the given value against the permission definition. | 
protected String constraintCode
protected String operatorCode
protected String propertyValue
protected Map<String,Object> otherKeyFieldValues
protected org.kuali.rice.kim.api.identity.Person person
protected String[] matchValues
protected boolean performEqualMatch
protected boolean performLessThanMatch
protected boolean performGreaterThanMatch
protected boolean allowConstraint
protected boolean notOperator
public AccessPermissionEvaluatorImpl()
public boolean valueIsAllowed(String value)
AccessPermissionEvaluatorvalueIsAllowed in interface AccessPermissionEvaluatorvalue - String value to evaluateAccessPermissionEvaluator.valueIsAllowed(java.lang.String)protected boolean isMatch(String matchValue, String value)
matchValue - String value to match, can contain the * wildcardvalue - String value to compareprotected void initializeAfterPropsSet()
protected void setMatchValues()
public void setConstraintCode(String constraintCode)
AccessPermissionEvaluatorsetConstraintCode in interface AccessPermissionEvaluatorAccessPermissionEvaluator.setConstraintCode(java.lang.String)public void setOperatorCode(String operatorCode)
AccessPermissionEvaluatorsetOperatorCode in interface AccessPermissionEvaluatorAccessPermissionEvaluator.setOperatorCode(java.lang.String)public void setPropertyValue(String propertyValue)
AccessPermissionEvaluatorsetPropertyValue in interface AccessPermissionEvaluatorAccessPermissionEvaluator.setPropertyValue(java.lang.String)public void setOtherKeyFieldValueMap(Map<String,Object> otherKeyFieldValues)
AccessPermissionEvaluatorsetOtherKeyFieldValueMap in interface AccessPermissionEvaluatorotherKeyFieldValues - Map with field name as the Map key and field value as Map valueAccessPermissionEvaluator.setOtherKeyFieldValueMap(java.util.Map)public void setPerson(org.kuali.rice.kim.api.identity.Person person)
AccessPermissionEvaluatorsetPerson in interface AccessPermissionEvaluatorperson - Person kim business objectAccessPermissionEvaluator.setPerson(org.kuali.rice.kim.api.identity.Person)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.