Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-04 Thread Sanjeewa Malalgoda
When we provide OOB security handlers ideally they should build authentication context and pass that information throughout execution flow. Please have a look at on this[1]. [1]

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Thusitha Thilina Dayaratne
Hi Sanjeewa, I didn't get the exact point that you mentioned. Could you please elaborate what we need to do from MSF4J side to cater the requirement? Thanks Thusitha On Thu, Nov 3, 2016 at 5:46 PM, Sanjeewa Malalgoda wrote: > Hi Azeez, Thusitha, > Shouldn't we build a

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Sanjeewa Malalgoda
Hi Azeez, Thusitha, Shouldn't we build a authentication context once request pass through authentication interceptor? Usually web services frameworks do that. And most of the time they let users to build authentication context and users context so they can access some of those in application

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Ishara Cooray
Thanks Thusitha. FI following info could be found as request properties. ​ ​ Also the token info could be found in Token introspection response Thanks & Regards, Ishara Cooray Senior Software Engineer

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-02 Thread Thusitha Thilina Dayaratne
Hi Ishara, AFAIK you should be able to get that information through the request object. e.g request.getProperties() Thanks Thusitha On Thu, Nov 3, 2016 at 10:24 AM, Ishara Cooray wrote: > +Shafreen, Sanjeewa, Kishanthan > > Hi, > > With regard to C5 implementation, i need to

[Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-02 Thread Ishara Cooray
+Shafreen, Sanjeewa, Kishanthan Hi, With regard to C5 implementation, i need to get api request properties such as Message.BASE_PATH, Message.PATH_INFO, Message.HTTP_REQUEST_METHOD for scope validation of a rest api call. In Interceptor interface we have precall method which i can use to get