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

Examples of org.jboss.seam.security.external.openid.api.OpenIdRequestedAttribute


    private OpenIdRelyingPartyApi rpApi;

    @Dialogued
    public void login(String identifier, boolean fetchEmail, HttpServletResponse response) {
        if (fetchEmail) {
            OpenIdRequestedAttribute requestedAttribute = rpApi.createOpenIdRequestedAttribute("email", "http://axschema.org/contact/email", true, 1);
            List<OpenIdRequestedAttribute> requestedAttributes = new ArrayList<OpenIdRequestedAttribute>();
            requestedAttributes.add(requestedAttribute);
            rpApi.login(identifier, requestedAttributes, response);
        } else {
            rpApi.login(identifier, null, response);
View Full Code Here

TOP

Related Classes of org.jboss.seam.security.external.openid.api.OpenIdRequestedAttribute

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.