edu.internet2.middleware.grouper.rules
Class RuleFinder

java.lang.Object
  extended by edu.internet2.middleware.grouper.rules.RuleFinder

public class RuleFinder
extends java.lang.Object


Constructor Summary
RuleFinder()
           
 
Method Summary
static java.util.Set<RuleDefinition> findAttributeDefPrivilegeInheritRules(Stem stem)
          find attribute def inherit rules by stem name
static java.util.Set<RuleDefinition> findFolderPrivilegeInheritRules(Stem stem)
          find folder inherit rules by stem name
static java.util.Set<RuleDefinition> findGroupPrivilegeInheritRules(Stem stem)
          find group inherit rules by stem name
static java.util.Set<RuleDefinition> findPrivilegeInheritRules(boolean secure)
          find subject inherit rules by stem name.
static java.util.Set<RuleDefinition> findSubjectPrivilegeInheritRules(edu.internet2.middleware.subject.Subject subject, boolean secure)
          find subject inherit rules by stem name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleFinder

public RuleFinder()
Method Detail

findGroupPrivilegeInheritRules

public static java.util.Set<RuleDefinition> findGroupPrivilegeInheritRules(Stem stem)
find group inherit rules by stem name

Parameters:
stem -
Returns:
the rules

findPrivilegeInheritRules

public static java.util.Set<RuleDefinition> findPrivilegeInheritRules(boolean secure)
find subject inherit rules by stem name. Note, the calling subject must be able to see the rules

Parameters:
secure -
Returns:
the rules

findSubjectPrivilegeInheritRules

public static java.util.Set<RuleDefinition> findSubjectPrivilegeInheritRules(edu.internet2.middleware.subject.Subject subject,
                                                                             boolean secure)
find subject inherit rules by stem name. Note, the calling subject must be able to see the rules

Parameters:
subject -
secure -
Returns:
the rules

findFolderPrivilegeInheritRules

public static java.util.Set<RuleDefinition> findFolderPrivilegeInheritRules(Stem stem)
find folder inherit rules by stem name

Parameters:
stem -
Returns:
the rules

findAttributeDefPrivilegeInheritRules

public static java.util.Set<RuleDefinition> findAttributeDefPrivilegeInheritRules(Stem stem)
find attribute def inherit rules by stem name

Parameters:
stem -
Returns:
the rules