Package org.springframework.security.providers.openid

Examples of org.springframework.security.providers.openid.OpenIDAuthenticationToken


    private String claimedIdentityFieldName = DEFAULT_CLAIMED_IDENTITY_FIELD;
    private static Log log = LogFactory.getLog(CustomOpenIDAuthenticationProcessingFilter.class);

    @Override
    public Authentication attemptAuthentication(HttpServletRequest req) throws AuthenticationException {
        OpenIDAuthenticationToken auth = null;

        // Processing standard OpenId user authentication   
        auth = (OpenIDAuthenticationToken) super.attemptAuthentication(req);

        if (auth.getAuthorities()[0].getAuthority().equals("openidLogin")) {

            /* TODO: when Spring Security 2.1 is released, we can uncomment
             * this code, which will allow us to pre-populate the new user
             * registration form with information from the OpenID Provider.
             *
 
View Full Code Here

TOP

Related Classes of org.springframework.security.providers.openid.OpenIDAuthenticationToken

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.