org.tynamo.security.services.impl
Class SecurityFilterChainFactoryImpl

java.lang.Object
  extended by org.tynamo.security.services.impl.SecurityFilterChainFactoryImpl
All Implemented Interfaces:
SecurityFilterChainFactory

@EagerLoad
public class SecurityFilterChainFactoryImpl
extends Object
implements SecurityFilterChainFactory


Constructor Summary
SecurityFilterChainFactoryImpl(org.slf4j.Logger logger, org.apache.tapestry5.ioc.services.PipelineBuilder builder, LoginContextService loginContextService, String successUrl, String loginUrl, String unauthorizedUrl, boolean redirectToSavedUrl)
           
 
Method Summary
 AnonymousFilter anon()
           
 FormAuthenticationFilter authc()
           
 BasicHttpAuthenticationFilter basic()
           
 SecurityFilterChain.Builder createChain(String path)
           
 SecurityFilterChain.Builder createChain(String pattern, org.apache.shiro.util.PatternMatcher patternMatcher)
           
 SecurityFilterChain.Builder createChainWithAntPath(String path)
           
 SecurityFilterChain.Builder createChainWithRegEx(String pattern)
           
 NotFoundFilter notfound()
           
 PermissionsAuthorizationFilter perms()
           
 PortFilter port()
           
 RolesAuthorizationFilter roles()
           
 SslFilter ssl()
           
 UserFilter user()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityFilterChainFactoryImpl

public SecurityFilterChainFactoryImpl(org.slf4j.Logger logger,
                                      org.apache.tapestry5.ioc.services.PipelineBuilder builder,
                                      LoginContextService loginContextService,
                                      @Inject@Symbol(value="security.successurl")
                                      String successUrl,
                                      @Inject@Symbol(value="security.loginurl")
                                      String loginUrl,
                                      @Inject@Symbol(value="security.unauthorizedurl")
                                      String unauthorizedUrl,
                                      @Inject@Symbol(value="security.redirecttosavedurl")
                                      boolean redirectToSavedUrl)
Method Detail

createChain

public SecurityFilterChain.Builder createChain(String path)
Specified by:
createChain in interface SecurityFilterChainFactory

createChain

public SecurityFilterChain.Builder createChain(String pattern,
                                               org.apache.shiro.util.PatternMatcher patternMatcher)
Specified by:
createChain in interface SecurityFilterChainFactory

createChainWithAntPath

public SecurityFilterChain.Builder createChainWithAntPath(String path)
Specified by:
createChainWithAntPath in interface SecurityFilterChainFactory

createChainWithRegEx

public SecurityFilterChain.Builder createChainWithRegEx(String pattern)
Specified by:
createChainWithRegEx in interface SecurityFilterChainFactory

anon

public AnonymousFilter anon()
Specified by:
anon in interface SecurityFilterChainFactory

notfound

public NotFoundFilter notfound()
Specified by:
notfound in interface SecurityFilterChainFactory

user

public UserFilter user()
Specified by:
user in interface SecurityFilterChainFactory

authc

public FormAuthenticationFilter authc()
Specified by:
authc in interface SecurityFilterChainFactory

basic

public BasicHttpAuthenticationFilter basic()
Specified by:
basic in interface SecurityFilterChainFactory

roles

public RolesAuthorizationFilter roles()
Specified by:
roles in interface SecurityFilterChainFactory

perms

public PermissionsAuthorizationFilter perms()
Specified by:
perms in interface SecurityFilterChainFactory

ssl

public SslFilter ssl()
Specified by:
ssl in interface SecurityFilterChainFactory

port

public PortFilter port()
Specified by:
port in interface SecurityFilterChainFactory


Copyright © 2004-2013. All Rights Reserved.