Examples of OAuthProviderType


Examples of org.gatein.security.oauth.spi.OAuthProviderType

    // Register OAuthProviderType into our list. It's called by kernel
    public void addPlugin(ComponentPlugin plugin) {
        if (plugin instanceof OauthProviderTypeRegistryPlugin) {
            OauthProviderTypeRegistryPlugin oauthPlugin = (OauthProviderTypeRegistryPlugin)plugin;

            OAuthProviderType oauthPrType = oauthPlugin.getOAuthProviderType();

            if (oauthPrType != null && oauthPrType.isEnabled()) {
                this.oauthProviderTypes.put(oauthPrType.getKey(), oauthPrType);
                log.debug("Added new OAuthProviderType " + oauthPrType);
            } else {
                log.debug("Skip OAuthProviderType " + oauthPrType + " because it's disabled");
            }
        } else {
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.