Examples of loginWithRememberMeOption()


Examples of org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.loginWithRememberMeOption()

                userNameWithDomain += "@" + domainName;
            }
            userNameWithDomain = userNameWithDomain.trim();
            boolean isLogged = false;
            if (isRememberMe) {
                RememberMeData data = proxy.loginWithRememberMeOption(userNameWithDomain, password,
                        request.getRemoteAddr());
                if (data != null) {
                    isLogged = true;
                    request.setAttribute(CarbonConstants.REMEMBER_ME_COOKIE_VALUE, data.getValue());
                    request.setAttribute(CarbonConstants.REMEMBER_ME_COOKIE_AGE,
View Full Code Here

Examples of org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.loginWithRememberMeOption()

            authClient = getAuthenticationAdminCient(request);
            boolean isAutenticated = false;
            if (isRememberMe && defaultCredentials.getUserName() != null
                    && defaultCredentials.getPassword() != null) {
                RememberMeData rememberMe;
                rememberMe = authClient.loginWithRememberMeOption(defaultCredentials.getUserName(),
                        defaultCredentials.getPassword(), "127.0.0.1");
                isAutenticated = rememberMe.getAuthenticated();
                if (isAutenticated) {
                    request.setAttribute(CarbonConstants.REMEMBER_ME_COOKIE_VALUE,
                            rememberMe.getValue());
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.