HI,

We are using MSF4J interceptor for securing REST APIs in API Manager. [1]
As for now Interceptor registration happens at the class level @Component
annotation as below.

@Component(
        name =
"org.wso2.carbon.apimgt.rest.api.common.interceptors.OAUTH2SecurityInterceptor",
        service = Interceptor.class,
        immediate = true
)
The limitations here are

   1. it is not possible to have more than one interceptor that will
   dynamically pick when an api call is received(Because the order matters and
   we are not certain which interceptor will take into effect ).
   2. We cannot explicitly configure to use Custom interceptors because of
   the above[1] reason.

Do we have any plans for these limitations?

Thanks & Regards,
Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to