Package org.agorava.oauth.settings

Examples of org.agorava.oauth.settings.SimpleOAuthAppSettingsBuilder


    }

    @Override
    public OAuthAppSettings produce(CreationalContext<OAuthAppSettings> ctx) {
        OAuthAppSettings settings = oldProducer.produce(ctx);
        OAuthAppSettings newSettings = new SimpleOAuthAppSettingsBuilder().readFromSettings(settings).
                qualifier(qual).
                name(AgoravaContext.getQualifierToService().get(qual)).build();
        ctx.push(newSettings);
        return newSettings;
    }
View Full Code Here


            this.session = session;
        }

        @Override
        public OAuthAppSettings tune(OAuthAppSettings toTune) {
            return new SimpleOAuthAppSettingsBuilder()
                    .readFromSettings(toTune)
                    .callback(new FacesUrlTransformer(toTune.getCallback())
                            .appendParamIfNecessary(AgoravaConstants.SESSIONID_PARAM, session.getId()).getUrl())
                    .build();
        }
View Full Code Here

TOP

Related Classes of org.agorava.oauth.settings.SimpleOAuthAppSettingsBuilder

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.