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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.exoplatform.services.rest.resource.GenericMethodResource method) Check doesmethodcontains one on of security annotations PermitAll, DenyAll, RolesAllowed.
-
Constructor Details
-
MethodAccessFilter
public MethodAccessFilter()
-
-
Method Details
-
accept
public void accept(org.exoplatform.services.rest.resource.GenericMethodResource method) throws javax.ws.rs.WebApplicationException Check doesmethodcontains one on of security annotations PermitAll, DenyAll, RolesAllowed.- Specified by:
acceptin interfaceorg.exoplatform.services.rest.method.MethodInvokerFilter- Throws:
javax.ws.rs.WebApplicationException- See Also:
-
PermitAllDenyAllRolesAllowed
-