Package org.jboss.seam.security.openid

Examples of org.jboss.seam.security.openid.OpenIdPrincipal


    }

    public boolean loginImmediately() {
        if (authResult.isAuthenticated()) {
            Identity.instance().acceptExternallyAuthenticatedPrincipal(
                    (new OpenIdPrincipal(authResult.getAuthenticatedId())));
            return true;
        }

        return false;
    }
View Full Code Here


            if (authenticatedAccount != null
                    && authenticatedAccount.isEnabled()) {
                credentials.setUsername(authenticatedAccount.getUsername());
                Identity.instance().acceptExternallyAuthenticatedPrincipal(
                        (new OpenIdPrincipal(result.getAuthenticatedId())));
                this.loginImmediate();
            }
            // If the user hasn't been registered yet
            else if (authenticatedAccount == null) {
                credentials.setUsername(result.getAuthenticatedId()); // this is
View Full Code Here

TOP

Related Classes of org.jboss.seam.security.openid.OpenIdPrincipal

Copyright © 2018 www.massapicom. 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.