org.exoplatform.services.rest.ext.method.filter
Class MethodAccessFilter
java.lang.Object
org.exoplatform.services.rest.ext.method.filter.MethodAccessFilter
- All Implemented Interfaces:
- MethodInvokerFilter
public class MethodAccessFilter
- extends Object
- implements 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
|
Method Summary |
void |
accept(GenericMethodResource method)
Check does method contains one on of security annotations
PermitAll, DenyAll, RolesAllowed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodAccessFilter
public MethodAccessFilter()
accept
public void accept(GenericMethodResource method)
throws javax.ws.rs.WebApplicationException
- Check does method contains one on of security annotations
PermitAll, DenyAll, RolesAllowed.
- Specified by:
accept in interface MethodInvokerFilter
- Throws:
javax.ws.rs.WebApplicationException- See Also:
PermitAll,
DenyAll,
{@inheritDoc}
Copyright © 2012 eXo Platform SAS. All Rights Reserved.