The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
22 views

Rails Before Filter Usage

In my Rails 4 app I'm creating an API with access to the index, create, show, update, and destroy methods in the controller. For authentication, I'm using HTTP Basic with credentials instead of a ...
0
votes
1answer
29 views

Selenium IDE Basic Authentication

Im am using Firefox Plugin Selenium IDE for testing (not Webdriver or else). Some areas of my webapplication are only accessible after basic authentication: At the moment, I have to stop the test ...
0
votes
0answers
34 views

http basic authentication error in symfony

In my project (a web API) done with Symfony 2.2 I have set http basic authentication. It works ok locally (tested in windows last XAMPP stable release and mysql db in a local mac with Lion), so I ...
0
votes
1answer
16 views

Passing basic auth username to a shell script

I have a weird requirement. I have a webserver setup with http basic auth. Is there a way to pass the username and/or the password a user enters to a shell script with in the environment? I know ...
0
votes
1answer
45 views

HttpBasicAuth inside of a Slim route

I'm trying the authenticate a specific Slim route using the BasicHttpAuth middleware in Slim Extras This works, however it requires all routes to authenticate: $app = new Slim(); $app->add(new ...
0
votes
1answer
40 views

How to do a basic authentication in a functional view in Django?

I want to do a basic authentication on a functional view. The view is expecting a POST request from a client script. So as soon as the client is authenticated, it will POST some new data to the view. ...
0
votes
0answers
29 views

What are the steps to setup up basic http authentication with Glassfish 4?

As an exercise, I want to do the minimal amount of work to set up a user, enable security in Glassfish 4, enable security in my application, and use the browser built-in support for HTTP basic ...
3
votes
1answer
108 views

WebApi: User.Identity.IsAuthenticated true for first request, false thereafter

I've implemented a Web API. <authentication mode="None" /> I'm using Basic authorization, and set the Thread.CurrentPrincipal in my AuthorizeAttribute. The first time after ...
1
vote
0answers
672 views

Can't set an HTTP Basic Auth header in AngularJS

I wrote the following controller for testing out HTTP Basic Auth using Angular JS. function TestCtrl($scope, $http, Base64){ $http.defaults.headers.common.Authorization = 'Basic ' + ...
1
vote
1answer
52 views

Spring security, either http basic or form login authentication

I have a web app developed using spring mvc and spring security 3.2. I want my app using http basic authentication for restful service and form login authentication for other part. Below is my ...
0
votes
0answers
53 views

Why is Spring Security HTTP BASIC redirecting to wrong URL?

I have a simple Spring Security (3.x) configuration to require HTTP BASIC auth for a subset of resources in my application. <http auto-config="true" use-expressions="true"> ...
0
votes
1answer
50 views

Encrypting (not hashing) and storing user passwords on a rails server, using devise cookies

Got a bit of an issue where I am required to maintain a secure connection with one server that proxies out requests to another, over basic authentication. However I can't be allowed to gain access to ...
0
votes
1answer
54 views

Http Basic Authentication with session identifier

I’m using Http Basic Authentication for my API access from a mobile application. Unfortunately I need to keep state internally. As the state is per session I can’t use username/password as the state ...
0
votes
0answers
129 views

Basic HTTP Authentication for REST Server on Drupal 7

I feel like this might be answered already somewhere, but no one seems to have answered this question directly about Drupal and I'm wondering if that might be making all the difference. I have setup ...
0
votes
1answer
122 views

Proxy built with netcat not allowing http basic authentication

I made a simple proxy server using nc, here's the one-liner: mkfifo queueueue nc -l 8080 <queueueue | nc http://$JENKINS_HOSTNAME 80 >queueueue It listens on port 8080 and then forwards the ...
1
vote
2answers
137 views

Perl LWP close connection manually

New Question: I'm doing the following with my Perl script: use strict; use warnings; use LWP 5.64; my $browser = LWP::UserAgent->new(); $browser->credentials( 'localhost:8080', 'Tomcat ...
1
vote
1answer
215 views

symfony2 / FOSRestBundle: No HTTP status codes

I want to access a REST webservice which is provided by symfony2 and FOSRestBundle. I use HTTP Base Authentication. Unfortunately i cannot figure out, how to get the HTTP codes 401 and 403 back, if ...
0
votes
1answer
87 views

Authlogic and Android, Verify user credentials

I have a rails app that uses Authlogic (from gem Communityengine). Now I want users to be able to login on a mobile device (Android in that case) If I understand correctly I can use Http Basic ...
0
votes
2answers
130 views

ServletRequestListener - Getting the userprincipal returns null

I'm having a web-application that is secured with HTTP-Basic auth. I also implemented a filter using the ServletRequestListener interface. Now when the filter calls the requestInitialized method, the ...
-1
votes
1answer
119 views

Responding to Basic Authentication/Authorization with 401. Same username/password gets sent 2nd time

I am writing a java program which responds to a basic request - using this as a reference - http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html First time the browser sends a GET request without ...
0
votes
1answer
89 views

HTTP Basic Auth protected url in new window

We have an application which is protected using HTTP basic authentication. We need to access few urls from above application in another client web application. When ever we click on these protected ...
1
vote
2answers
55 views

keep http authentication private in a public github repo?

I have a public Github repo for an app that I'd like to add authentication to. I plan to use basic http authentication, but this would require that I store the username and password in the ...
0
votes
2answers
131 views

Should I encrypt passwords before sending via Basic Auth?

Very simple question. For registering and logging in through a RESTful API, should the passwords be encrypted before sending through Basic Authentication; or is Basic Authentication so secure that ...
0
votes
2answers
522 views

Solr 4 with basic authentication

I am trying to connect to solr using solrj. My solr instance runs in jetty and is protected with basic authentication. I found these links that contain relevant information. ...
0
votes
2answers
123 views

REST + HTTP Basic Auth - necessary to do user lookup every request?

I'm making a REST API for my web app and since it should be stateless I'm sending the user's credentials with HTTP Basic Auth. Is it correct that I need to validate the username/password with a ...
0
votes
0answers
106 views

Authentication in a client application for REST services

Firstly, I'm going to explain my objective: I developed some REST services using Jersey, that were automatically generated from my MySQL DataBase. In that DataBase I have a Login table, that have the ...
0
votes
1answer
241 views

Error in Basic-Authentication Login (406 Not Acceptable)

After implementing Basic-Authentication for my Jersey REST services, I'm implementing Authentication for my Client API using HTTPBasicAuthFilter. I'm using Glassfish 3.1.2 and NetBeans. I've followed ...
3
votes
1answer
434 views

Symfony2 security.yml: http basic auth is returning 500 instead of 401

I'm trying to set-up a very simple http-basic authentication with symfony 2. Unfortunatley I keep getting an 500 HTTP error code AccessDeniedException: Access Denied, instead of 401, which would force ...
0
votes
1answer
98 views

mod_rewrite breaks http basic auth

After successfully getting a rewrite working as I wished for with GIT I managed to break authentication which is required to push to git. For some reason it seems like the rewrite to the ScriptAlias ...
1
vote
3answers
275 views

Using Spring Security 3.1 to secure the same RESTful resources with both form-login and http-basic security

I have a java web application running on Tomcat 7. I am using Spring 3.2 with Spring Security 3.1 on the backend, and am exposing an API via RESTful URLs following the /api/** pattern. The UI for the ...
0
votes
1answer
48 views

Rails metal http basic auth

I am trying to use HTTP basic authentication when a remote service hits one of my Rails metal endpoints. I am wondering how to get access to the username and password of the request. So far, I have ...
5
votes
4answers
2k views

Adding HTTP Basic Authentication Header to Backbone.js Sync Function Prevents Model from Being Updated on Save()

I'm working on a web application that is powered by a restful API written with Python's CherryPy framework. I started out writing the user interface with a combination of jQuery and server side ...
0
votes
1answer
100 views

Can HTTP basic authentication be applied outside of assigned realm with PHP?

I am using PHP to implement HTTP Basic Authentication on the Apache HTTP Server (version 2.2). The only directory I want to password-protect is a sub-directory of the main public web root of my ...
1
vote
0answers
237 views

CakePHP form authentication for normal requests with basic authentication for JSON

I'm attempting to to build a web application that can be view by a user in a browser but also has an API for developers to interface with my application. My question is how do I change the ...
0
votes
1answer
90 views

Issue with LDAP + HttpBasicAuth in Spring Security

I have a config like this: <security:http auto-config="true" use-expressions="true"> <security:intercept-url pattern="/index.jsp" access="isAuthenticated()"/> ...
0
votes
2answers
107 views

ldap spring security http basic auth

Can you please give me some links or solutions to manage my problem? The problem is the follows. I have an LDAP server. How can I make http basic authorization through this LDAP server? Thanks in ...
0
votes
1answer
123 views

HTTP Basic Auth - Server Says? [duplicate]

Possible Duplicate: Sending basic authentication information via form When connecting to a web folder with basic auth the server can "say" something to you. For example when you you try ...
0
votes
0answers
177 views

Mailgun, Groovy HTTPBuilder and problems with HTTP Basic authentication

Looks like HTTPBuilder's behavior goes wrong when the server / api endpoint does not give a proper response. Mailgun's API does not respond 401, but instead gives something else. (Correct me if I'm ...
1
vote
2answers
2k views

HTTP Basic Authentication Java

I am trying to get content from the website Socialcast which needs authentication. (First I do a HTTP Post with Basic Authentication and then I try a HTTP GET). I tried several codes, I receive this ...
2
votes
1answer
520 views

How to implement HTTP Basic Auth in Play Framework 1.2?

I found this post, but it is aimed at Play 2.0. Has anyone done this for Play 1 (I'm using 1.2.4-mbknor-3)?
1
vote
1answer
62 views

RoR Password Protect Assets

I am trying to password protect the fonts sub-directory in my assets directory because of licensing etc. I have tried a few ideas for routing, but I haven't been able to figure one out yet. As of ...
2
votes
2answers
623 views

Google plus share : image and description not coming

I want to share link(from chrome extesnion) with image and description on Google plus. It's working fine without http basic authentication. i.e URL = "https://mysite.com" But with http basic ...
2
votes
1answer
227 views

CherryPy wsgi basic http authentication

Is it possible to use the methods of cherrypy.lib.auth_basic for a CherryPyWSGIServer object? Even if I call the cherrypy.config.update function for including the list of permitted users, clients can ...
1
vote
1answer
162 views

preventing authentication failure popup (http 401) on closed network - http basic

I'm facing this issue on a closed net at work. I'm building something like LastPass and if the user's user/pass credential stored in my data store is no longer correct, when my code applies it via ...
2
votes
2answers
158 views

Where can I store the password/username combo that's used in Rails' http_basic_authentication_with?

I'm trying to use Rails' http_basic_authenticate_with method to secure a personal app. The docs show this as an example: class PostsController < ApplicationController ...
3
votes
1answer
150 views

Basic HTTP Authentication with Noir

I've been starting to figure out how to use noir and I would now like to use http basic authentication. I've stumbled upon https://github.com/adeel/ring-http-basic-auth . Though, the given examples ...
6
votes
1answer
496 views

WCF in IIS, http basic authentication - Windows User “security” implications

I created a WCF Service, using http Basic Authentication and SSL. (Temporary certificate in IIS atm) Here is the relevant configuration. <services> <service ...
1
vote
0answers
81 views

Rails HTTP basic authentication across subdomains

I've got some really basic authentication for a staging/testing site (this is just to protect the staging site, we use Devise for authentication within the app): ...
0
votes
1answer
52 views

Bing Maps private TileSource

I'm using Bing Maps with an extra TileSource. All works well, except that I need to make the tiles private, as they're different for each user. Authentication/Authorization is provided via ...
0
votes
1answer
119 views

how to add authentication to a wsgiref python web service

I am working on a sample code given in the python documentation, the code is: from wsgiref.simple_server import make_server, demo_app httpd = make_server('', 8000, demo_app) print "Serving HTTP on ...

1 2 3 4
15 30 50 per page