Package com.adito.security

Examples of com.adito.security.UserDatabase.supportsAccountCreation()


        udb = UserDatabaseManager.getInstance().getUserDatabase(user.getRealm().getResourceId());
    } catch (Exception e1) {
        return SKIP_BODY;
    }

    if(!udb.supportsAccountCreation() && requiresAccountCreation) {
      return SKIP_BODY;
    }
    if(!udb.supportsPasswordChange() && requiresPasswordChange) {
      return SKIP_BODY;
    }
View Full Code Here


                errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.noUsername"));
            }
            if (username.length() > 75) {
                errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.usernameExceeds75Chars"));
            }
            if (udb.supportsAccountCreation()) {
                if (fullname == null || fullname.length() == 0) {
                    errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.noFullName"));
                }
                if (fullname.length() > 75) {
                    errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.fullNameExceeds75Chars"));
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.