@Marker(value=Security.class) public class SecurityModule extends Object
Constructor and Description |
---|
SecurityModule() |
Modifier and Type | Method and Description |
---|---|
static void |
addTransformWorkers(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.transform.ComponentClassTransformWorker2> configuration) |
static void |
adviseSecurityAssert(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver,
org.apache.tapestry5.services.Environment environment)
Secure all service methods that are marked with authorization annotations.
|
static void |
bind(org.apache.tapestry5.ioc.ServiceBinder binder) |
static org.apache.shiro.mgt.RememberMeManager |
buildRememberMeManager() |
void |
contributeApplicationInitializer(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ApplicationInitializerFilter> configuration,
org.apache.tapestry5.services.ComponentClassResolver componentClassResolver,
ClassInterceptorsCache classInterceptorsCache)
Create ClassInterceptorsCache through annotations on the class page,
which then will use SecurityFilter.
|
static void |
contributeComponentClassResolver(org.apache.tapestry5.ioc.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration) |
static void |
contributeComponentRequestHandler(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ComponentRequestFilter> configuration,
org.apache.tapestry5.services.ComponentRequestFilter filter) |
static void |
contributeFactoryDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration) |
static void |
contributeHttpServletRequestHandler(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.HttpServletRequestFilter> configuration,
org.apache.tapestry5.services.HttpServletRequestFilter securityConfiguration) |
void |
contributeRequestExceptionHandler(org.apache.tapestry5.ioc.MappedConfiguration<Class,Object> configuration) |
static void |
defaultSecurity(org.apache.tapestry5.ioc.Configuration<SecurityFilterChain> configuration,
SecurityFilterChainFactory factory) |
public SecurityModule()
public static void bind(org.apache.tapestry5.ioc.ServiceBinder binder)
public static org.apache.shiro.mgt.RememberMeManager buildRememberMeManager()
public static void contributeFactoryDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
public void contributeApplicationInitializer(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ApplicationInitializerFilter> configuration, org.apache.tapestry5.services.ComponentClassResolver componentClassResolver, ClassInterceptorsCache classInterceptorsCache)
public static void contributeComponentRequestHandler(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ComponentRequestFilter> configuration, @Local org.apache.tapestry5.services.ComponentRequestFilter filter)
@Contribute(value=org.apache.tapestry5.services.transform.ComponentClassTransformWorker2.class) public static void addTransformWorkers(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.transform.ComponentClassTransformWorker2> configuration)
public static void contributeComponentClassResolver(org.apache.tapestry5.ioc.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration)
@Match(value="*") @Order(value="before:*") public static void adviseSecurityAssert(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver, @Core org.apache.tapestry5.services.Environment environment)
public void contributeRequestExceptionHandler(org.apache.tapestry5.ioc.MappedConfiguration<Class,Object> configuration)
public static void contributeHttpServletRequestHandler(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.HttpServletRequestFilter> configuration, @InjectService(value="SecurityConfiguration") org.apache.tapestry5.services.HttpServletRequestFilter securityConfiguration)
@Contribute(value=org.apache.tapestry5.services.HttpServletRequestFilter.class) @Marker(value=Security.class) public static void defaultSecurity(org.apache.tapestry5.ioc.Configuration<SecurityFilterChain> configuration, SecurityFilterChainFactory factory)
Copyright © 2004–2015. All rights reserved.