Package org.uberfire.security.server.auth

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


    public void init( final FilterConfig filterConfig )
            throws ServletException {

        final Map<String, String> options = buildOptions( filterConfig );

        final CookieStorage cookieStorage = getCookieStorage( options );
        final AuthenticationScheme basicAuthScheme = new HttpBasicAuthenticationScheme();
        final AuthenticationScheme rememberMeAuthScheme = getRememberMeAuthScheme( options, cookieStorage );
        final String forceURL = getForceURL( options );
        final AuthenticationScheme authScheme = getAuthenticationScheme( options );
        final AuthenticationManager authManager = getAuthenticationManager( options );
View Full Code Here


        if ( hasRememerMe( options ) ) {
            final String cookieName = options.get( COOKIE_NAME_KEY );
            if ( cookieName == null || cookieName.trim().isEmpty() ) {
                throw new RuntimeException( "Can't find cookie id." );
            }
            return new CookieStorage( cookieName );
        }
        return null;
    }
View Full Code Here

TOP

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

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.