Basic authentication is a method for a web browser or other client program to provide a user name and password when making a request.
0
votes
0answers
9 views
Hubot/Express: disable basic auth in a specific route
I am using Hubot and I've defined the environment variables EXPRESS_USER and EXPRESS_PASSWORD to enable basic authentication. Hubot uses express and basically it's
setupExpress: ->
user = ...
0
votes
0answers
22 views
Http basic authentication using ldap credentials in spring security(spring-boot project) to secure rest service calls
Using Spring Security
Basic authentication setup works against some hardcoded username passwords as shown here:
...
0
votes
0answers
24 views
WebClient gets 401 when requesting a directory without a slash
I have a web server using nginx, configured with HTTPS and Basic Authentication.
I'm attempting to query it with my WebClient with PowerShell
$wc = new-object System.Net.WebClient
$wc.Credentials = ...
1
vote
0answers
7 views
Allow Amazon CDN to bypass HTTP Basic Authentication
I am trying to allow Amazon CDN to access the resources on my password protected staging site (HTTP Basic Authentication)
This is the code I have on the httpd.conf file for it
NameVirtualHost ...
-1
votes
0answers
26 views
Web API 2 Authentication without aspnet identity
I am currently developing a web service with Web Api 2 that is called from other web sites we have developed. We have a few web apis that talk to eachother to get information and are currently using ...
-2
votes
0answers
33 views
Basic Authentication in CakePHP
I am trying to setup Basic Authentication for my CakePHP app so I can use it as an API for an upcoming mobile application. However If I pass the following:
...
0
votes
0answers
28 views
Authentification with JSF
I know that this question was asked many times , unfortunantly i'm so confused because there are many ways to handle this issues.
I have checked alredy many posts like :
...
0
votes
1answer
33 views
express.basicAuth throwing error
I just created the basic authentication in nodejs using express basic auth
var express = require('express');
var app = express();
// Authenticator
...
0
votes
0answers
15 views
How to make undertow NOT use authorization for open resource when authorization is included in request?
Using Wildfly 8.1.0.Final
I want to create a web app that requires basic authentication for access to /api/* but the rest of the application should be open. To accomplish this I have the following ...
0
votes
0answers
9 views
Does IE pass-through authentication work for a Basic Auth web site?
Can an IIS 6 site using Basic Authentication be configured to do pass-through authentication over Basic Auth to IE browsers?
0
votes
1answer
13 views
NTLM Proxy Translator to Basic Auth or Oauth
I have some services (say S1 & S2) that I would like to connect them with a third party service (say S3) that uses NTLM authentication. My Problem is that I can use either Basic Auth or Oauth. I ...
0
votes
1answer
26 views
Cannot get Basic HTTP Authentication to work using Restlet 2.1
I'm trying to implement basic HTTP authentication using Restlet 2.1, and I just can't get it to work .. ! I'm using a ChallengeAuthenticator to setup Basic HTTP authentication. I have just one URI ...
1
vote
0answers
27 views
Jersey Get DIGEST or Basic HTTP Authentication User and Password
How can I get the user and password in request in Jersey 2.4?
The client request sets user and password as below
protected HttpAuthenticationFeature feature = ...
0
votes
0answers
7 views
API auth using cakephp
I'm using the code below, It's returning to me as unauthorised, but when I use the same credentials on postman it works.
<?php
class RepoController extends Controller
{
public function ...
0
votes
1answer
26 views
What is the difference between basic authentication and cryptographic authentication?
What are the main differences between these two authentication methods?
And when would you use one over the other?
0
votes
0answers
13 views
IPhone Enterprise App Installation + Basic Authentication + Iphone asks for pw three times
I have secured my enterprise app by basic authentication.. At the moment if I install the app I need to give my password three times, that's quite a lot. I think it's for downloading the plist and the ...
0
votes
0answers
24 views
Thinktecture Basic Auth WebApi disable on route
I have basic auth wired up using Thinktecture to my WebApi.
Is there a way to disable this auth on a single route? Trying to publicly expose a single endpoint.
I'm restricted to WebApi v1, in case ...
0
votes
0answers
33 views
How to enable authentication/authorization in Java EE7 Rest application? Getting “Client not authorized for this invocation”
I've been banging my heads against the wall for quite some time now, trying to enable authentication/authorization on a Java EE7 REST application using annotations. No matter how hard I try, I keep ...
0
votes
0answers
6 views
Why does using basicAuth in “ibm-webservicesclient-bind.xmi” still give 401 unauthorised?
I am trying to call a secured web-service from my application running in WebSphere Application Server.
The web-service is secured with basic auth & I can hit it successfully from a web browser by ...
0
votes
0answers
29 views
HTTP Basic Auth over SSL and NON-SSL (require entry just once)
Forgive me if this has been asked already, I could not find the answer if it did exist.
We have a basic auth prompt using nginx 1.6.0 - and when a user goes to our site at http://example.com/home - ...
0
votes
1answer
41 views
Can I use Basic Authentication in Umbraco without a Login page
I'm building an ASP.Net MVC web application, which uses Umbraco7, to replace an old WebForms website.
The old WebForms site uses Basic Authentication on some sections of the site (specified at the ...
0
votes
1answer
18 views
Using Spring, Basic Auth and LDAP, how can I get the supplied username?
I'm authenticating users against LDAP with spring security. My bean config looks like this
<security:http use-expressions="true" >
<security:intercept-url pattern="/secure/**" ...
0
votes
0answers
40 views
Basic Auth not working on cross domain call Angular
I set the request header for Basic Auth inside app.run
app.run(['$route', '$http', 'Base64', function ($route, $http, Base64) {
var encoded = Base64.encode(userName + ':' + password);
...
0
votes
1answer
20 views
Is there any WWW-Authenticate header that will prompt user for only password?
I'm developing a scheme where a password alone (not username) grants access to documents. WWW-Authenticate: Basic will prompt user for both username and password. Is there any way to direct standard ...
0
votes
0answers
46 views
@PreAuthorize Annotation is not working in Spring security?
I am using Spring Security for accessing restful webservices in my application.
Here is restservice.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<beans ...
0
votes
1answer
25 views
Not able to login into Tomcat 7 manager App after configuring ldap authentication
I have configured the ldap authentication for my application in Tomcat 7 server.xml. But after this configuration i am not able to login into tomcat manager app. I have configured the roles for ...
0
votes
0answers
43 views
alfresco prompting basic authentication
I'm trying to create my own alfresco authentication subsystem that call a soap SSO web service on a server.
I need to create an user in alfresco and set all his informations. I did it but I got a ...
0
votes
0answers
26 views
PHP client web service with basic authentication don't work
I can not get this working:
$soap_client = new SoapClient("ServiciosClientes.wsdl");
$user='userAP';
$pwd='passwordAP';
$ns = "http://www.example.com/ns/ServiciosClientes";
$headerbody = ...
1
vote
2answers
43 views
username in `user:[email protected]` not in $_SERVER
To start things off, my server is not running PHP in CGI mode. And even if it was I have the proper mod_rewrite stuff setup (this is a Drupal site).
My problem is that when the user/pass are passed ...
0
votes
0answers
40 views
What does php's CURLOPT_USERPWD do
I was wondering what CURLOPT_USERPWD is actually doing to the url, header or data of a request. Is it INSTEAD OF the Authorization: Basic <base64 of user:pass> or does it work along side this?
...
0
votes
1answer
76 views
Node.Js Express Authentication
I have a simple self-made API in my Node.Js / Express app. It requires authentication. My problem is that I don't want the user to have to authenticate via browser (basic authetication) if they ...
1
vote
0answers
62 views
how to implement basic authentication with resttemplate for assembla
private void getResponse(LoginBean object) {
String auth = object.getUsername() + ":" + object.getPassword();
byte[] encodedAuth = Base64.encodeBase64(auth.getBytes(Charset
...
0
votes
0answers
9 views
Basic Authentication between hosts
Lets say I have a two servers : A & B both having Jetty / Tomcat
I want B to do basic auth whenever A tries to connect A.
Is it possible to do basic auth between servers using some mechanism ...
0
votes
0answers
37 views
AFNetworking: AFHTTPRequestOperation with basic auth corrupts a AFHTTPRequestOperationManager
When I execute a AFHTTPRequestOperationManager with basic auth it
works totally fine.
When I execute a AFHTTPRequestOperation with
basic auth to download a picture it works totally fine.
However, ...
1
vote
3answers
48 views
ASP.NET MVC with Forms Auth and WebApi with Basic Auth
I have a WebApi using Basic Auth nicely. And I have an MVC site using Forms Auth nicely. But here's the catch:
Client X has a dedicated database with any number of Contacts and Products. The MVC ...
0
votes
0answers
17 views
basic-authentication - remember_me won't update
I try to set up this tutorial, but I don't know where to put the update_token-method.
The migration and the checkbox works well, but the user.save don't work, I guess. I also tried to replace the ...
0
votes
2answers
63 views
Can't set a header using Cors and Ajax
Hello I am trying to do a http request with Basic Auth, but I can't set the header authorization and it is allowed in server.
Ajax :
$.ajax({
xhrFields: { withCredentials: true },
...
0
votes
0answers
34 views
Gzip and basic auth with Silverlight 5
How to get Gzip and basic auth working in a HTTP request from Silverlight 5? I'm using HttpClient to send requests.
In browser stack mode there is support for gzip but I cannot add basic auth (gives ...
1
vote
1answer
50 views
Afnetworking 2 basic auth post
I'm trying to replicate the next curl line using Afnetworking:
curl -basic -u "DD22137584:123456" -d "modulo=dnsDinamico&archivo=dnsDinamicoDesktop&op=obtenertHosts" ...
0
votes
0answers
55 views
Why do I have a huge memory leak when trying to use Basic Authentication in a simple Web Service with Apache Geronimo
I'm using Apache Gronimo 3.01 and I am finding a huge memory leak in a Web Service that uses Basic Authentication (and no memory leak if no authentication is used):
The only code is simply this:
...
0
votes
1answer
39 views
How can I password-protect applications behind mod_proxy in Apache?
I have a number of web applications running in a Tomcat instance.
They are fronted by an Apache instance, using mod_proxy.
Each web application is a silo in and of itself, each with its own user ...
0
votes
0answers
17 views
cakephp BasicAuth unable to auth
I'm developing a rest api for my application.
In AppController I have Form Auth with controller authorization that works perfectly.
I have issues authenticating with Basic Auth, but only in prod ...
1
vote
1answer
122 views
How to use UrlFetchApp with credentials? Google Scripts
I am trying to use Google Scripts UrlFetchApp to access a website with a basic username and password. As soon as I connect to the site a popup appears that requires authentication. I know the Login ...
0
votes
2answers
49 views
Configure nginx to return different files to different authenticated users with the same URI
I'm using nginx to serve static files in an embedded system, with no CGI back-end. I have basic-authentication up with multiple username/passwords. I'd like to have a specific URI deliver different ...
1
vote
1answer
67 views
Basic authentication with Selenium in Internet Explorer 10
One of our webapplications is using Basic Authentication and build with AngularJS. To test this application, I use Protractor, which uses Selenium to communicate with browsers.
In Chrome, everything ...
0
votes
0answers
48 views
base 64 encode for basic authorization header with multiple languages
I am trying to login to a Jira instance from an ios app and i have encountered some problems with the basic 64 encode authorization header with usernames that have chars as 'ñ', 'ó' etc.
I solved ...
0
votes
0answers
43 views
Passing Apache Command Line Parameters in Mamp Pro
My goal is to add a conditional to an .htaccess file to turn off Apache authentication on my local machine while keeping it active in the production environment.
Apache has a "parameter-name" ...
0
votes
1answer
46 views
MuleStudio 3.x: Is http:rest-service-component deprecated? Renamed? Replaced?
Although there are matches for "rest" and "service" in the components pallet, those don't give you <http:rest-service-component httpMethod="GET" serviceUrl="..." />.
And if you manually add it ...
0
votes
1answer
202 views
How to make a basic authentication in web service soap in Mule ESB?
I am wanting to consume soap webservice, only he has basically authentication. When I try to access is returning:
Server returned HTTP response code: 401 for URL:
Have tried putting the username ...
0
votes
0answers
90 views
Spring Security: Commence method in class extending BasicAuthenticationEntryPoint no being called
I'm trying to do rest login from an android app to a web backend. In my web application:
I have this class extending BasicAuthenticationEntryPoint:
import java.io.IOException;
import ...