Package org.uberfire.security.server.auth

Examples of org.uberfire.security.server.auth.DefaultAuthenticationProvider


        HttpSecurityManagerBuilder loadAvailableAuthenticationSources() {
            final ServiceLoader<AuthenticationSource> sources = ServiceLoader.load( AuthenticationSource.class );
            if ( sources != null ) {
                for ( final AuthenticationSource source : sources ) {
                    authProviders.add( new DefaultAuthenticationProvider( source ) );
                    if ( source instanceof RoleProvider ) {
                        roleProviders.add( (RoleProvider) source );
                    }
                }
            }
View Full Code Here


            this.roleProvider = (RoleProvider) source;
        } else {
            this.roleProvider = null;
        }
        this.propertiesProvider = propertiesProvider;
        this.authProvider = new DefaultAuthenticationProvider( source );

        authProvider.initialize( options );
    }
View Full Code Here

TOP

Related Classes of org.uberfire.security.server.auth.DefaultAuthenticationProvider

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.