HTTP authentication is a method for a HTTP user agent to provide a user name and a certain proof confirming the user's identity when making a request. Various proofs define different HTTP Authentication methods, e.g. basic, forms, digest, or others.
Questions tagged [http-authentication]
622 questions
0
votes
1 answer
PHP REST API get authorization data
I'm writing REST API in PHP and recently I faced with authorization problem. I read a lot about basic authorization, about using private and public keys to create request signature. It is said that using request signature is more secure. But then I…

Tamara
- 2,910
- 6
- 44
- 73
0
votes
1 answer
Persistent basic access Authentication
I know one can easily create a "Remember me" option for cookie based authentication login systems. Is such a thing also possible for basic access HTTP authentication?
Usually, the credentials the browser caches are flushed once the browser is…

user2180613
- 739
- 6
- 21
0
votes
1 answer
curl_easy_perform not sending authorization credentials on redirect to new domain
I am using curl in C to send HTTP requests to a web API that has multiple versions. Depending on the user-agent, the web server sends a 301 response and curl tries to follow the redirect. This all works as designed but there is a special case where…

itslittlejohn
- 1,808
- 3
- 20
- 33
0
votes
0 answers
Sitewide http auth interfering with Symfony2 app authentication
I have a site under development with the following structure:
public_html/
index.php
symfony_app/
other_app/
Currently I have the root of the site behind Basic HTTP authentication during the development testing phase. I couldn't figure…

Fo.
- 3,752
- 7
- 28
- 44
0
votes
1 answer
NSURLConnection doesn't call NSURLConnectionDelegate authentication methods after an HTTP 401
I'm consume a web service that uses HTTP basic auth with an NSURLConnection. In my NSURLConnectionDelegate, I implemented –[NSURLConnectionDelegate connection:canAuthenticateAgainstProtectionSpace:],
–[NSURLConnectionDelegate…

Heath Borders
- 30,998
- 16
- 147
- 256
0
votes
1 answer
Storing Credentials in Authentication Server made using Java libraries for unit testing
I have created the Authentication Server using Java.. I want to know how should I store the credentials of the users in my server so that I can perform the Authentication in the fastest and the best way.

Mitaksh Gupta
- 1,029
- 6
- 24
- 50
0
votes
1 answer
Add basic http authentication info in a servlet
I have a servlet out of the secured area. I want to add Basic Http Authentication info (so the "Authorization: Basic asdasdmasdjsankj" header and forward the flow to the index page.
Obviously the forward will be intercepted by the basic http auth…

McG-work
- 31
- 3
0
votes
1 answer
How to access HTTP Authentication dialog using Firefox SDK
I am writing a Firefox add-on for Linux users to pass credentials for NTLM authenticated sites.some what similar to AutoAuth which is written using XUL framework
https://addons.mozilla.org/en-us/firefox/addon/autoauth/
my question is how to access…

ishanaba
- 65
- 8
0
votes
2 answers
Getting JSON data from a website using Delphi
There is this website http://www.ingress.com/intel
To access the website, we must login using username and password.
Once accessed, the site uses JSON for its data.
I am new to this JSON thing.
Anyone can give a general example how to get JSON data…

Kawaii-Hachii
- 1,017
- 7
- 22
- 36
0
votes
3 answers
Open-source Java server-side implementations of HTTP auth decoding
I have a requirement to perform HTTP authentication logic within a servlet application, rather than delegating this task to the container.
Specifically, I need a way of taking the headers of an HttpServletRequest which contains HTTP auth headers,…

skaffman
- 398,947
- 96
- 818
- 769
0
votes
2 answers
Tomcat, HTTP authentication, and Active Directory
In our intranet, all users log in Windows from an Active Directory domain. I must develop a solution for authenticating users against Active Directory, that runs in Tomcat and works for both Servlet and Axis2.
I'm already able to verify…

Hikari
- 3,797
- 12
- 47
- 77
0
votes
1 answer
HTTP Authentication and REST
I am building a PHP Api that will allow a mobile app to talk to it. The app is more of a tech demo at the moment to test technology and ideas.
To secure the app requests, certain things will need authentication.
So let's take the following for…

Cameron
- 27,963
- 100
- 281
- 483
0
votes
1 answer
HTTP Error 401 at accessing Socialcast API
I receive 401 Unauthorized when trying to connect to Socialcast API (Demo).
This is my code:
ClientConnectionManager connectionManager = new BasicClientConnectionManager();
HttpClient client = new DefaultHttpClient(connectionManager);
…

Jane Doe
- 409
- 3
- 6
- 18
0
votes
1 answer
Kerberos and forms authentication?
We have a system that's exposed to internal users (who have Kerberos authentication) and to 3rd parties that can log in via a traditional username/password form. What we've currently done is to have multiple servers running, some that are Kerberized…

Oli
- 1,031
- 8
- 20
0
votes
1 answer
HTTP Authentication won't work on localhost Zend WAMP server
I've been working through PHP, MySQL, Javascript & CSS 2nd edition by Robert Nixon (O'Reilly 2012). I've managed to set up a database on my WAMP server (Zend server).
The book then shows how to authenticate a username and password. i managed to…

Gary Mack
- 11
- 3