Searched defs:homedir (Results 1 - 1 of 1) sorted by relevance

/solaris-userland-s11u3/components/visual-panels/usermgr/src/java/vpanels/app/usermgr/com/oracle/solaris/vp/panels/usermgr/client/swing/
H A DUserMgrUtils.java102 public static void validateHomeDir(String homedir) argument
104 // Ensure that the homedir is valid
105 if (!isValidHomeDir(homedir)) {
107 Finder.getString("usermgr.error.homedir.bad"));
147 * Determines if the provided homedir is valid.
149 * @param homedir the home directory
152 private static boolean isValidHomeDir(String homedir) { argument
159 return (homedir.length() >= VALID_HOMEDIRLEN &&
160 homedir.matches("^\\/[\\-\\p{Alnum}\\._\\/]+$"));

Completed in 11 milliseconds