Package framework.beans.security

Examples of framework.beans.security.LoginRemoteAbstarct.login()


    protected static SessionSecurityDetails tryLogin(Object aCollaboratorID, char[] aPassword) throws Exception {
        if (get() != null) {
            throw new ClipsException("Внутренняя ошибка: попытка зарегистрировать сессию во второй раз.");
        }
        LoginRemoteAbstarct loginBean = getLoginBean();
        int sessId = loginBean.login(aCollaboratorID,
                loginBean.getEncryptor().encryptPasswd(aPassword));
        return loginBean.getSessionRemote(sessId);
    }

    protected static LoginRemoteAbstarct getLoginBean() throws NamingException {
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.