Is webservice call has Browser Support issue? - web-services

Recently i have faced one interview in which he asked me a question that-
Do you ever face a problem in calling web service from particular browser ?
So i want to know is web service has browser compatibility issue?
I already search in google but didn't find any particular answer.

Still i didn't face any issue related browser compatibility in webservice.
I think there is no issue in browser compatibility in using webservice.
Regards
AB Vyas

Related

Any oauth2 library for ColdFusiion?

I have designed a Restful component using Coldfusion 11. Now I need to think of securing this REST service.After searching for sometime
I found HTTPS + oauth2 is the best combination for securing REST service.
In the official oauth2 page, We have libraries for different languages. But there is nothing listed for ColdFusion.
Any one having any kind of knowledge if we have a library for oauth2 in ColdFusion?
I believe you are looking for this. This CF script is built by Matt Gifford 3 years ago, so you might want to take a look and update some code. But as far as i believe, it was designed to work on CF9 and CF10, so it will work on CF11 as well.
Let me know if this works for you.

Jetty Basic Authentication

I am using jetty basic auth to authenticate my application. The problem is that I have to close the browser to clear the authentication. I am looking for a custom code to do the same.
In other words how to logoff/sign off one you have been authenticated by jetty basic auth.
If I understand correctly, what I do in Firefox is select "Tools > Clear Recent History", check Active Logins, and click Clear Now. Took me a while to figure this out.
Assuming you're asking what I think you're asking, then this is a browser question and not a Jetty question.
It sounds like you simply want a way to get your web-browser to forget your username/password.
How you do that will depend on which browser you are using:
For Chrome read this
For FireFox try the Web-developer addon
Other browsers will probably have similar solutions.
If you want to do it from within the Jetty server, then that's much harder, but you can start reading here, here, here and here
Please read this fantastic post on Basic Authentication.
The answer is in the first paragraph.
How to force Jetty to ask for credentials with BASIC authentication after invalidating the session?

Accessing Sitecore content from ASP.NET

In one of my project I am trying to retrieve some content from Sitecore (multilingual). Can anyone here point me to the right direction/ best way of doing it? I have seen in some of the posts it’s mentioned about the web service or REST API. Can anyone point to a documentation or code snippet on how to do it?
This is quite a vast topic, but Sitecore doesn't limit you here. The general note about it is mentioned in paragraph 1.2.7 "Web Services, AJAX, and other Internet Interfaces" of this article.
I would recommend you to explore the standard Sitecore web service (it is present in any Sitecore release). Type http://yourhost/sitecore/shell/webservice/service.asmx to get an idea of what it can offer. It consists of just basic operations, but those are enough for the most of cases.

developing browser extension for content filtering

I'm developing an application for content filtering. i'll use it as web service but my problem is that i hadn't developed any extension for firefox or ie before. i read some about firefox extensions and now i know a little about it.
firstly can i use web service in a firefox/ie extension? if yes, can you give me a link of tutorial or sth like that?
all suggestions are welcome.
The question is too broad. Yes, you can call a web service using XMLHttpRequest, for example.

Is it possible to integrate Kerberos authentication into Jetty 6?

We currently have an application that runs an embedded jetty 6.1.14 server to which we need to add authentication via Kerberos. I'm new to Kerberos, which makes the task about 100x harder that maybe it should be. I've scoured the internet and have found conflicting reports as to whether or not it is even possible but nothing much to provides guidance as to how to proceed.
I've managed to have the server basically be able to authenticate the users via kerberos but can't find away to have the client automatically send its kerberos ticket: I have to use the from auth-method, though there are hints that this may be using filters, which are very poorly documented.
My question - and I apologize for it being a bit vague, I've not been this exasperated in quite a long time - is to request some guidance for plugging in kerberos authentication without login forms in Jetty 6? Or am I just out of luck? Has anyone added this type of authentication to jetty 6?
If Jetty supports Servlet Filters (JSR-53), then this open source project http://spnego.sourceforge.net might be what you are looking for.
You have to prepare your domain environment first. Make sure that your server if part of your domain (joined it). Then you have to create an machine account and assign an SPN. If you have done that, create a keytab for that account. From now on a client will be able to search for the host in the domain and create a ticket for. Then comes Jetty into play.