Package com.im.df.impl.db.persist
Class UsernameService
- java.lang.Object
-
- com.im.df.impl.db.persist.UsernameService
-
public class UsernameService extends Object
This class is used for usename case conversion. It can be added to the security config as the following bean:<bean id="usernameService" class="com.im.df.impl.db.persist.UsernameService"> <property name="lowerCase"><value>true</value></property> </bean>
-
-
Constructor Summary
Constructors Constructor Description UsernameService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert(String username)
boolean
isLowerCase()
void
setLowerCase(boolean lowerCase)
-