Package com.appslandia.plum.defaults
Class DefaultCsrfController
- java.lang.Object
-
- com.appslandia.plum.defaults.DefaultCsrfController
-
@ApplicationScoped @Controller("csrf") @Authorize(removed=true) @EnableGzip(removed=true) @CacheControl(nocache=true) public class DefaultCsrfController extends Object
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected SimpleCsrfManagercsrfManager
-
Constructor Summary
Constructors Constructor Description DefaultCsrfController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultindex(RequestAccessor request, javax.servlet.http.HttpServletResponse response)
-
-
-
Field Detail
-
csrfManager
@Inject protected SimpleCsrfManager csrfManager
-
-
Method Detail
-
index
@HttpGetPost public Result index(RequestAccessor request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
-