import org.springframework.security.userdetails.UserDetailsManager;
import org.springframework.security.userdetails.UserDetailsManager;
-public interface UserAdminService extends UserDetailsManager{
+public interface UserAdminService extends UserDetailsManager {
/**
* Usernames must match this regexp pattern ({@value #USERNAME_PATTERN}).
* Thanks to <a href=
* "http://www.mkyong.com/regular-expressions/how-to-validate-username-with-regular-expression/"
/**
* Usernames must match this regexp pattern ({@value #USERNAME_PATTERN}).
* Thanks to <a href=
* "http://www.mkyong.com/regular-expressions/how-to-validate-username-with-regular-expression/"
- * >this tip</a> (modified to remove '-')
+ * >this tip</a> (modified to remove '-' and add upper-case)
- public final static String USERNAME_PATTERN = "^[a-z0-9_]{3,15}$";
+ public final static String USERNAME_PATTERN = "^[a-zA-Z0-9_]{3,15}$";
/**
* Email addresses must match this regexp pattern ({@value #EMAIL_PATTERN}.
/**
* Email addresses must match this regexp pattern ({@value #EMAIL_PATTERN}.
// user should be lower case, between 3 and 15 characters long
[argeo:userHome] > mix:created, mix:lastModified
mixin
// user should be lower case, between 3 and 15 characters long
[argeo:userHome] > mix:created, mix:lastModified
mixin
-- argeo:userID (STRING) m < '^[a-z0-9_]{3,15}$'
+- argeo:userID (STRING) m
+ argeo:profile (argeo:userProfile)
[argeo:userProfile] > mix:created, mix:lastModified, mix:title, mix:versionable
mixin
+ argeo:profile (argeo:userProfile)
[argeo:userProfile] > mix:created, mix:lastModified, mix:title, mix:versionable
mixin
-- argeo:userID (STRING) m < '^[a-z0-9_]{3,15}$'
+- argeo:userID (STRING) m