org.pentaho.platform.engine.security
Class DefaultUsernameComparator

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

public class DefaultUsernameComparator
extends Object
implements Comparator<String>


Constructor Summary
DefaultUsernameComparator()
           
DefaultUsernameComparator(boolean caseSensitive)
           
 
Method Summary
 int compare(String o1, String 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

DefaultUsernameComparator

public DefaultUsernameComparator()

DefaultUsernameComparator

public DefaultUsernameComparator(boolean caseSensitive)
Method Detail

compare

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

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)