eXo WS :: REST :: Extentions 2.3.0-GA

org.exoplatform.services.rest.ext.method.filter
Class MethodAccessFilter

java.lang.Object
  extended by 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

Constructor Summary
MethodAccessFilter()
           
 
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
 

Constructor Detail

MethodAccessFilter

public MethodAccessFilter()
Method Detail

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}

eXo WS :: REST :: Extentions 2.3.0-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.