Class MethodAccessFilter
- java.lang.Object
-
- org.exoplatform.services.rest.ext.method.filter.MethodAccessFilter
-
- All Implemented Interfaces:
org.exoplatform.services.rest.method.MethodInvokerFilter
public class MethodAccessFilter extends Object implements org.exoplatform.services.rest.method.MethodInvokerFilter
Contract of this class thats constrains access to the resource method that use JSR-250 security common annotations. See also https://jsr250.dev.java.net .- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
-
Constructor Summary
Constructors Constructor Description MethodAccessFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.exoplatform.services.rest.resource.GenericMethodResource method)Check does method contains one on of security annotations PermitAll, DenyAll, RolesAllowed.
-
-
-
Method Detail
-
accept
public void accept(org.exoplatform.services.rest.resource.GenericMethodResource method) throws javax.ws.rs.WebApplicationExceptionCheck does method contains one on of security annotations PermitAll, DenyAll, RolesAllowed.- Specified by:
acceptin interfaceorg.exoplatform.services.rest.method.MethodInvokerFilter- Throws:
javax.ws.rs.WebApplicationException- See Also:
PermitAll,DenyAll,RolesAllowed
-
-