I'd like to know if there's a way I can tell Play to use the Secure module for every controller, without having to add With(Secure.class)
to all my controllers or making all my controllers extend a single class. Ideas anyone?
相关问题
- PlayFramework: how to transform each element of a
- Could not import the newly generated play framewor
- Play Framework Unicode symbols in HTTP Header
- Swift generic type property and method
- Asp.Net MVC - Common Data Across All Controllers
相关文章
- 关于Asp.net Mvc Core重写Initialize方法的问题
- Spring: controller inheritance using @Controller a
- Testing request with CSRF Token in Play framework
- Disable action method from being called from the a
- How to map an abstract collection with jpa?
- play2 framework my template is not seen. : package
- How does @Inject in Scala work
- play framework 2.0 - unexpected exception - Key No
Yes you can intercept every-request with a play-plugin. Just have a look on modules/docviewer. It's very easy to implement. At the moment I'm working on a security-module where everything is forbidden as a default.