Class CSRFAccessFilter
java.lang.Object
org.exoplatform.web.security.csrf.CSRFAccessFilter
- All Implemented Interfaces:
org.exoplatform.services.rest.method.MethodInvokerFilter
public class CSRFAccessFilter
extends Object
implements org.exoplatform.services.rest.method.MethodInvokerFilter
Method filter to check the CSRF token when the annotation ExoCSRFCheck is set
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.exoplatform.services.rest.resource.GenericMethodResource method) Check doesmethodcontains CSRF security annotations ExoCSRFCheck
-
Constructor Details
-
CSRFAccessFilter
public CSRFAccessFilter()
-
-
Method Details
-
accept
public void accept(org.exoplatform.services.rest.resource.GenericMethodResource method) Check doesmethodcontains CSRF security annotations ExoCSRFCheck- Specified by:
acceptin interfaceorg.exoplatform.services.rest.method.MethodInvokerFilter- See Also:
-