Package org.jboss.seam.security.external.openid.api

Examples of org.jboss.seam.security.external.openid.api.OpenIdRelyingPartyApi.login()


        List<OpenIdRequestedAttribute> attributes = new LinkedList<OpenIdRequestedAttribute>();

        selectedProvider.requestAttributes(openIdApi, attributes);

        openIdApi.login(selectedProvider.getUrl(), attributes, getResponse());

        setStatus(AuthenticationStatus.DEFERRED);
    }

    protected HttpServletResponse getResponse() {
View Full Code Here


         throw new IllegalStateException("No OpenID provider has been selected");
      }
     
      if (log.isDebugEnabled()) log.debug("Logging in using OpenID url: " + selectedProvider.getUrl());
     
      openIdApi.login(selectedProvider.getUrl(), attributes,
            (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse());     
     
      setStatus(AuthenticationStatus.DEFERRED);
   }
  
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.