Questions tagged [custom-authentication]

176 questions
1
vote
0 answers

solr custom authentication plugin steps

I created a custom authorization plugin(a FAT jar) and placed the same in classpath (/usr/local/bin/solr-6.2.1/server/solr-webapp/webapp/libs ) I ran the command to add created a security.json **{ "authentication":{ …
1
vote
1 answer

Custom header is not added into request.META in Django Rest Framework

I implemented custom authentication, as described in docs # custom_permissions.py from rest_framework import authentication from rest_framework import exceptions class KeyAuthentication(authentication.BaseAuthentication): def…
AmirM
  • 1,089
  • 1
  • 12
  • 26
1
vote
2 answers

Custom Authentication AngularFire2 Ionic2

I update my application from Ionic 1 to Ionic 2. For the first App (Ionic 1) I use AngularFire and custom authentication (with Slim Framework). With Ionic 2 I try to do the same thing with AngularFire2 (and firebase 2.4.2) but I have this error when…
1
vote
1 answer

Is it OK to use Firebase as user database for custom authentication?

We decided to use Firebase custom authentication because we need to login by either username or email, or phone number in the future. For this we will write our own auth server (in nodejs) that will use Firebase as its backend for storing users with…
Martin Ždila
  • 2,998
  • 3
  • 31
  • 35
1
vote
0 answers

Custom authenticator with password expiry handling in Spring

We have an existing application that uses Spring security. We need to have password expiry option for the users. We already have a column that has the passwordExpirationDate. What would be way to have my AuthenticationProvider/Manger to redirect to…
1
vote
1 answer

Multiple Custom authentication requests to firebase failing

When trying to get multiple firebase references one after the other, only the last requests callbacks gets called. Below I am trying to get 3 firebase references for different data console.log('authenticating Users'); var firebaseRef1 = new…
Bk Baba
  • 109
  • 1
  • 10
1
vote
2 answers

Asp.Net Web Api and Autofac with Custom Authorisation attribute issue (property injection)

I am using Autofac to inject all my project dependencies which is working great. Now I have added a Custom Authorization attribute (I don't need very complex functionality like OWIN and Identity stuff). The custom authorization attribute has…
1
vote
0 answers

Spring Security Custom Authfilter doesnt work

i am working in a personal project and i using spring web mvc and spring security 4, all annotation based configs, and my custom UsernamePasswordAuthenticationFilter is never reached, i am losing it, i already search but i can get it solved, so if…
1
vote
0 answers

Seeding first admin user into my asp.net mvc application.(using custom authentication)

I am not using Membership or Identity. I am using web-forms based authentication. It's a product i'm working on. and i want the customers to be able to create an admin at the first run (deployment). I'm using RBAC. For now the user creation goes…
Mridul Kashyap
  • 704
  • 1
  • 5
  • 12
1
vote
1 answer

Active Directory Authenticator & user must change password

I’m trying to use the AD Authenticator in WLS 12.1.2 (JAAS container security) to handle the scenario where the user has been set to “must change password at next logon”, which I understand is set in the AD attribute pwdLastSet. If I set that to 0…
bobsmells
  • 1,359
  • 2
  • 11
  • 22
1
vote
1 answer

Always HttpContext.Current.User.Identity.IsAuthenticated = false in MVC4 with windows authentication mode and not working correctly

I am trying to do customAuthorization in MVC when the authentication mode is "windows" public override void OnAuthorization(AuthorizationContext filterContext) { #region if if…
1
vote
0 answers

How do I make custom Jetty restrictions for Elasticsearch?

I have an installation of Elasticsearch version 1.1.0 which will be indexing items out of a SQLserver database. I have the jdbc-river plugin for retrieving information. I also have the jetty-1.1.0-beta plugin installed. Currently, I have jetty…
1
vote
1 answer

Django RemoteUserBackend

I'm trying to use multiple Authentication backends in Django 1.5. I want to use RemoteUserBackend with a custom header and the standard ModelBackend Seems like I can make one or the other work, but not both. If I try to log in using ModelBackend i…
Rob L
  • 3,634
  • 2
  • 19
  • 38
1
vote
1 answer

ServiceStack, Authenticate attribute

I am trying to write my own authentication, so I inherited CredentialsAuthProvider and have overridden the Authenticate method. Auth is working fine, also when i call another service i can see all data that i saved in the session. The Problem is:…
1
vote
0 answers

C# WCF Session-based service with custom username/password validation: Configuration problems

I've search a lot of already posted answers on stackoverflow, but none of the solutions proposed did not solve my problem so far. That's the second day of research & troubleshooting with no outcome, so I am to the point to ask for others help. I'm…
Pascal
  • 606
  • 7
  • 15