public abstract class UsernameValueGenerator extends AbstractObjectValueGenerator<String>

The UsernameValueGenerator class modifies properties with java.lang.String type. The given value is returned without any change if it is not blank. Otherise the class tries to get current logged user name. If the user exists and name is not blank then this name is returned otherwise the empty string is returned.



protected String modify(String value)