|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tynamo.security.services.SecurityModule
public class SecurityModule
The main entry point for Security integration.
| Constructor Summary | |
|---|---|
SecurityModule()
|
|
| Method Summary | |
|---|---|
static void |
adviseRequestExceptionHandler(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver,
org.apache.tapestry5.internal.services.PageResponseRenderer renderer,
org.apache.tapestry5.internal.services.RequestPageCache pageCache,
org.slf4j.Logger logger,
org.apache.tapestry5.services.RequestGlobals requestGlobals,
org.apache.tapestry5.services.Response response,
SecurityService securityService,
ShiroExceptionHandler handler)
Advise current RequestExceptionHandler for we can catch ShiroException exceptions and handle this. |
static void |
adviseSecurityAssert(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)
Secure all service methods that are marked with authorization annotations. |
static void |
bind(org.apache.tapestry5.ioc.ServiceBinder binder)
|
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 |
contributeClasspathAssetAliasManager(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
|
static void |
contributeComponentClassResolver(org.apache.tapestry5.ioc.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration)
|
static void |
contributeComponentClassTransformWorker(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ComponentClassTransformWorker> 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityModule()
| Method Detail |
|---|
public static void bind(org.apache.tapestry5.ioc.ServiceBinder binder)
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)
public static void contributeComponentClassTransformWorker(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.ComponentClassTransformWorker> configuration)
public static void contributeComponentClassResolver(org.apache.tapestry5.ioc.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration)
public static void contributeClasspathAssetAliasManager(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
@Match(value="*") @Order(value="before:*") public static void adviseSecurityAssert(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)
public static void adviseRequestExceptionHandler(org.apache.tapestry5.ioc.MethodAdviceReceiver receiver,
org.apache.tapestry5.internal.services.PageResponseRenderer renderer,
org.apache.tapestry5.internal.services.RequestPageCache pageCache,
org.slf4j.Logger logger,
org.apache.tapestry5.services.RequestGlobals requestGlobals,
org.apache.tapestry5.services.Response response,
SecurityService securityService,
ShiroExceptionHandler handler)
ShiroExceptionHandler
public static void contributeHttpServletRequestHandler(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.HttpServletRequestFilter> configuration,
@InjectService(value="SecurityConfiguration")
org.apache.tapestry5.services.HttpServletRequestFilter securityConfiguration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||