org.pentaho.platform.engine.security
Class DefaultGrantedAuthorityComparator
java.lang.Object
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>
Method Summary |
int |
compare(org.springframework.security.GrantedAuthority o1,
org.springframework.security.GrantedAuthority o2)
|
boolean |
isCaseSensitive()
|
void |
setCaseSensitive(boolean caseSensitive)
|
DefaultGrantedAuthorityComparator
public DefaultGrantedAuthorityComparator()
DefaultGrantedAuthorityComparator
public DefaultGrantedAuthorityComparator(boolean caseSensitive)
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)