Examples of loginWithRememberMeCookie()


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

            HttpServletRequest request = (HttpServletRequest) object;
            AuthenticationAdminClient client = getAuthenticationAdminCient(request);
            Cookie[] cookies = request.getCookies();
            for (Cookie cookie : cookies) {
                if (cookie.getName().equals(CarbonConstants.REMEMBER_ME_COOKE_NAME)) {
                    isValidRememberMe = client.loginWithRememberMeCookie(cookie.getValue());
                }
            }

        } catch (AxisFault e) {
            log.error(e.getMessage(), e);
View Full Code Here

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

                // This is to login with Remember Me.
                Cookie[] cookies = request.getCookies();
                if (cookies != null) {
                    for (Cookie cookie : cookies) {
                        if (cookie.getName().equals(CarbonConstants.REMEMBER_ME_COOKE_NAME)) {
                            isAutenticated = authClient
                                    .loginWithRememberMeCookie(cookie.getValue());
                            if (isAutenticated) {
                                String cookieValue = cookie.getValue();
                                return getUserNameFromCookie(cookieValue);
                            }
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.