org.pentaho.platform.engine.security
Class DefaultGrantedAuthorityComparator
java.lang.Object
org.pentaho.platform.engine.security.DefaultGrantedAuthorityComparator
- All Implemented Interfaces:
- Comparator<GrantedAuthority>
public class DefaultGrantedAuthorityComparator
- extends Object
- implements Comparator<GrantedAuthority>
DefaultGrantedAuthorityComparator
public DefaultGrantedAuthorityComparator()
DefaultGrantedAuthorityComparator
public DefaultGrantedAuthorityComparator(boolean caseSensitive)
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)