org.kuali.kfs.sec.service.impl
Class DescendOrganizationAccessPermissionEvaluatorImpl

java.lang.Object
  extended by org.kuali.kfs.sec.service.impl.AccessPermissionEvaluatorImpl
      extended by org.kuali.kfs.sec.service.impl.DescendOrganizationAccessPermissionEvaluatorImpl
All Implemented Interfaces:
AccessPermissionEvaluator

public class DescendOrganizationAccessPermissionEvaluatorImpl
extends AccessPermissionEvaluatorImpl

Custom access permission evaluator that looks at the organization hierarchy when matching values


Field Summary
 
Fields inherited from class org.kuali.kfs.sec.service.impl.AccessPermissionEvaluatorImpl
allowConstraint, constraintCode, matchValues, notOperator, operatorCode, otherKeyFieldValues, performEqualMatch, performGreaterThanMatch, performLessThanMatch, person, propertyValue
 
Constructor Summary
DescendOrganizationAccessPermissionEvaluatorImpl()
           
 
Method Summary
protected  boolean isMatch(String matchValue, String value)
          Matches org values based on org hierarchy
 
Methods inherited from class org.kuali.kfs.sec.service.impl.AccessPermissionEvaluatorImpl
initializeAfterPropsSet, setConstraintCode, setMatchValues, setOperatorCode, setOtherKeyFieldValueMap, setPerson, setPropertyValue, valueIsAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescendOrganizationAccessPermissionEvaluatorImpl

public DescendOrganizationAccessPermissionEvaluatorImpl()
Method Detail

isMatch

protected boolean isMatch(String matchValue,
                          String value)
Matches org values based on org hierarchy

Overrides:
isMatch in class AccessPermissionEvaluatorImpl
Parameters:
matchValue - String value to match, can contain the * wildcard
value - String value to compare
Returns:
boolean true if values match, false otherwise
See Also:
AccessPermissionEvaluatorImpl.isMatch(java.lang.String, java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.