Package cu.ftpd.user.userbases.local

Examples of cu.ftpd.user.userbases.local.LocalUser.passwd()


        if (!userfile.getName().matches("[\\w-]+")) {
            System.err.println("Illegal username: " + userfile.getName());
            return;
        }
        LocalUser user = userbase.addUser(userfile.getName(), "WILL_BE_CHANGED", false);
        user.passwd(passwords.get(user.getUsername()), false);
        BufferedReader in = null;
        try {
            in = new BufferedReader(new InputStreamReader(new FileInputStream(userfile)));
            String line;
            boolean hasPrimaryGroupSet = false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.