org.hippoecm.hst.jaxrs.cxf
Class SecuredJAXRSInvoker

java.lang.Object
  extended by org.apache.cxf.service.invoker.AbstractInvoker
      extended by org.apache.cxf.jaxrs.JAXRSInvoker
          extended by org.hippoecm.hst.jaxrs.cxf.SecuredJAXRSInvoker
All Implemented Interfaces:
org.apache.cxf.service.invoker.Invoker

Deprecated. Deprecated because SecurityAnnotationInvokerPreprocessor plugged into AroundProcessableJAXRSInvoker is preferred.

public class SecuredJAXRSInvoker
extends org.apache.cxf.jaxrs.JAXRSInvoker

SecuredJAXRSInvoker

A custom JAXRSInvoker which checks security annotation of the target operation and return 403 Forbidden error when not authorized.

Version:
$Id$

Constructor Summary
SecuredJAXRSInvoker()
          Deprecated.  
 
Method Summary
 Object invoke(org.apache.cxf.message.Exchange exchange, Object requestParams, Object resourceObject)
          Deprecated.  
protected  boolean isForbiddenOperation(org.apache.cxf.message.Exchange exchange)
          Deprecated.  
 
Methods inherited from class org.apache.cxf.jaxrs.JAXRSInvoker
getActualServiceObject, getServiceObject, getTemplateValues, invoke
 
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker
checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, isJdkDynamicProxy, performInvocation, releaseServiceObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredJAXRSInvoker

public SecuredJAXRSInvoker()
Deprecated. 
Method Detail

invoke

public Object invoke(org.apache.cxf.message.Exchange exchange,
                     Object requestParams,
                     Object resourceObject)
Deprecated. 
Overrides:
invoke in class org.apache.cxf.jaxrs.JAXRSInvoker

isForbiddenOperation

protected boolean isForbiddenOperation(org.apache.cxf.message.Exchange exchange)
Deprecated. 


Copyright © 2008-2012 Hippo. All Rights Reserved.