Examples of OpenIdAuthenticationResult


Examples of org.zanata.security.openid.OpenIdAuthenticationResult

            // examine the verification result and extract the verified
            // identifier
            Identifier verified = verification.getVerifiedId();
            if (verified != null) {
                authResult = new OpenIdAuthenticationResult();
                authResult.setAuthenticatedId(verified.getIdentifier());
                authResult.setEmail(openIdProvider.getEmail(response)); // Get
                                                                        // the
                                                                        // email
                                                                        // address
View Full Code Here

Examples of org.zanata.security.openid.OpenIdAuthenticationResult

    @Create
    public void init() {
        manager = new ConsumerManager();
        discovered = null;
        id = null;
        authResult = new OpenIdAuthenticationResult();
        // TODO inject these
        identity =
                ServiceLocator.instance().getInstance(ZanataIdentity.class);
        applicationConfiguration =
                ServiceLocator.instance().getInstance(
View Full Code Here

Examples of org.zanata.security.openid.OpenIdAuthenticationResult

        this.login(credentials.getUsername(),
                credentials.getOpenIdProviderType(), callback);
    }

    private void login() {
        authResult = new OpenIdAuthenticationResult();
        String returnToUrl = returnToUrl();

        String url = authRequest(id, returnToUrl);

        if (url != null) {
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.