org.pentaho.platform.engine.security
Class DefaultGrantedAuthorityComparator

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

public class DefaultGrantedAuthorityComparator
extends Object
implements Comparator<org.springframework.security.GrantedAuthority>


Constructor Summary
DefaultGrantedAuthorityComparator()
           
DefaultGrantedAuthorityComparator(boolean caseSensitive)
           
 
Method Summary
 int compare(org.springframework.security.GrantedAuthority o1, org.springframework.security.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(org.springframework.security.GrantedAuthority o1,
                   org.springframework.security.GrantedAuthority o2)
Specified by:
compare in interface Comparator<org.springframework.security.GrantedAuthority>

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)