Package org.uberfire.security.server.auth

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


    private AuthenticationScheme getAuthenticationScheme( final Map<String, String> options ) {
        final String authScheme = options.get( AUTH_SCHEME_KEY );
        AuthenticationScheme scheme = null;
        if ( authScheme == null || authScheme.isEmpty() ) {
            return new FormAuthenticationScheme();
        } else {
            scheme = loadConfigClazz( authScheme, AuthenticationScheme.class );
        }

        if ( scheme == null && authScheme.equalsIgnoreCase( FORM ) ) {
            return new FormAuthenticationScheme();
        }

        return scheme;
    }
View Full Code Here

TOP

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

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.