Hello Pat,
        Thanks for sharing the links. But I guess, earlier I didn't explain 
my question clearly so let me explain it correctly now.
As per the business requirement, we are trying to host/configure the EVN 
REST service(s) in a third party application and that third party 
application can call secured REST services only by putting the username & 
password in the REST URL. That third party application doesn't use/work 
with cookies for session management. So that third party application always 
calls the EVN REST services by putting the username & password in the REST 
URL. And we don't have much control over that third party application to 
change this behavior. I understand that putting the username & password is 
not a better practice but at the moment there are constraints to go for 
other modes of authentication when calling EVN REST services from that 
third party application.
      
*In short, I just want to check that whether there is a way to make the EVN 
REST services work with the username & password putting in the URL? So that 
the EVN REST service call returns the response directly instead of 
redirecting the request to form based login page. Please let us know if we 
need to make some configuration change in the EVN application or in the 
Application/Web server(in which EVN application runs) for this.*
Thanks,

On Tuesday, February 7, 2017 at 7:09:17 PM UTC+5:30, Pat Doyle wrote:
>
> Sanjeev,
>
> This page describes the process required to get service calls 
> authenticated under forms authentication:
>
> http://wiki.topbraid.net/display/TBS521/EVN+Server+Installation+and+Integration#EVNServerInstallationandIntegration-Form-BasedAuthentication
>
> Instead of putting the username/password in the URL of the service call, 
> you'll want to call the login page directly, passing the credentials 
> there.  Assuming you've given valid credentials, you should then receive a 
> cookie to be passed along on subsequent REST calls.  The above 
> documentation page should go into this in a bit more detail.
>
> Will this work for you?  
>
> Let me know,
> Pat
>
> On Tue, Feb 7, 2017 at 6:17 AM, sanjeev devireddy <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>         Though the username & password are placed in the EVN REST Service 
>> URLs as shown below, those calls are redirected to Form based login page. 
>> If user logs into that form then only the results are returned. Is there a 
>> way to change this default behavior of EVN REST services? So that those 
>> REST services don't redirect the calls to Form based login page when 
>> username & password are placed in the REST service URL.
>>          I know that passing the username & password in the REST URL is 
>> not a better practice. But there is a third party application in which EVN 
>> REST services need to be configured and that application accepts only this 
>> kind of URLs for calling secured REST services.
>>
>>
>>
>>
>> *http://username:password@<server_name>/evn/tbl/template?_template=http://topbraid.org/spin/skostemplates%23RootConcepts&_base=urn:x-evn-master:sampletaxonomy&broaderConcept=http://topquadrant.com/ns/examples/geography%23Continent&_format=json
>>  
>> <http://topbraid.org/spin/skostemplates%23RootConcepts&_base=urn:x-evn-master:sampletaxonomy&broaderConcept=http://topquadrant.com/ns/examples/geography%23Continent&_format=json>*Could
>>  
>> some one please help us here?
>>
>>
>> Thanks,
>> Sanjeev
>>
>> -- 
>> You received this message because you are subscribed to the Google Group 
>> "TopBraid Suite Users", the topics of which include the TopBraid Suite 
>> family of products and its base technologies such as SPARQLMotion, SPARQL 
>> Web Pages and SPIN.
>> To post to this group, send email to [email protected] 
>> <javascript:>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "TopBraid Suite Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include the TopBraid Suite family 
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
and SPIN.
To post to this group, send email to [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to