org.pentaho.platform.engine.security
Class DefaultGrantedAuthorityComparator

java.lang.Object
  extended by org.pentaho.platform.engine.security.DefaultGrantedAuthorityComparator
All Implemented Interfaces:
Comparator<GrantedAuthority>

public class DefaultGrantedAuthorityComparator
extends Object
implements Comparator<GrantedAuthority>


Constructor Summary
DefaultGrantedAuthorityComparator()
           
DefaultGrantedAuthorityComparator(boolean caseSensitive)
           
 
Method Summary
 int compare(GrantedAuthority o1, GrantedAuthority o2)
           
 boolean isCaseSensitive()
           
 void setCaseSensitive(boolean caseSensitive)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DefaultGrantedAuthorityComparator

public DefaultGrantedAuthorityComparator()

DefaultGrantedAuthorityComparator

public DefaultGrantedAuthorityComparator(boolean caseSensitive)
Method Detail

compare

public int compare(GrantedAuthority o1,
                   GrantedAuthority o2)
Specified by:
compare in interface Comparator<GrantedAuthority>

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)