Package nu.localhost.tapestry5.springsecurity.services

Examples of nu.localhost.tapestry5.springsecurity.services.SecurityModule


        configuration.add(
                "springSecurityAnonymousProcessingFilter",
                anonymousProcessingFilter,
                "after:springSecurityRememberMeProcessingFilter",
                "after:springSecurityAuthenticationProcessingFilter" );
        configuration.add( "springSecurityExceptionFilter", new HttpServletRequestFilterWrapper(
                springSecurityExceptionFilter ), "before:springSecurityFilterSecurityInterceptor" );
        configuration.add(
                "springSecurityFilterSecurityInterceptor",
                filterSecurityInterceptor,
                "after:springSecurity*" );
View Full Code Here


        interceptor.setAlwaysReauthenticate( false );
        interceptor.setAuthenticationManager( manager );
        interceptor.setSecurityMetadataSource(source);
        interceptor.setValidateConfigAttributes( true );
        interceptor.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( interceptor );
    }
View Full Code Here

    public static HttpServletRequestFilter buildHttpSessionContextIntegrationFilter() throws Exception {

      SecurityContextPersistenceFilter filter = new SecurityContextPersistenceFilter();
        filter.setForceEagerSessionCreation( false );
        filter.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( filter );
    }
View Full Code Here

    @Marker( SpringSecurityServices.class )
    public static HttpServletRequestFilter buildAuthenticationProcessingFilter(
            final UsernamePasswordAuthenticationFilter filter ) throws Exception {

        return new HttpServletRequestFilterWrapper( filter );
    }
View Full Code Here

            @SpringSecurityServices final RememberMeServices rememberMe,
            @SpringSecurityServices final AuthenticationManager authManager ) throws Exception {

        final RememberMeAuthenticationFilter filter = new RememberMeAuthenticationFilter(authManager,rememberMe);
        filter.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( filter );
    }
View Full Code Here

    }

    @Marker( SpringSecurityServices.class )
    public static HttpServletRequestFilter buildSecurityContextHolderAwareRequestFilter() {

        return new HttpServletRequestFilterWrapper( new SecurityContextHolderAwareRequestFilter() );
    }
View Full Code Here

        attrEditor.setAsText( anonymousAttr );
        final UserAttribute attr = (UserAttribute) attrEditor.getValue();
       
        final AnonymousAuthenticationFilter filter = new AnonymousAuthenticationFilter(anonymousKey,"anonymousUser",attr.getAuthorities());
        filter.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( filter );
    }
View Full Code Here

        configuration.add(
                "springSecurityAnonymousProcessingFilter",
                anonymousProcessingFilter,
                "after:springSecurityRememberMeProcessingFilter",
                "after:springSecurityAuthenticationProcessingFilter" );
        configuration.add( "springSecurityExceptionFilter", new HttpServletRequestFilterWrapper(
                springSecurityExceptionFilter ), "before:springSecurityFilterSecurityInterceptor" );
        configuration.add(
                "springSecurityFilterSecurityInterceptor",
                filterSecurityInterceptor,
                "after:springSecurity*" );
View Full Code Here

        interceptor.setAlwaysReauthenticate( false );
        interceptor.setAuthenticationManager( manager );
        interceptor.setSecurityMetadataSource(source);
        interceptor.setValidateConfigAttributes( true );
        interceptor.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( interceptor );
    }
View Full Code Here

    public static HttpServletRequestFilter buildHttpSessionContextIntegrationFilter() throws Exception {

      SecurityContextPersistenceFilter filter = new SecurityContextPersistenceFilter();
        filter.setForceEagerSessionCreation( false );
        filter.afterPropertiesSet();
        return new HttpServletRequestFilterWrapper( filter );
    }
View Full Code Here

TOP

Related Classes of nu.localhost.tapestry5.springsecurity.services.SecurityModule

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.