remember-me

ldap.rememberMe.usernameMapper.userDnBase (multiple instances of?) (searchSubtree search capability)

自古美人都是妖i 提交于 2020-01-03 00:55:10
问题 I have a Grails application that is successfully using the latest spring-security-core:2.0-RC4 and spring-security-ldap:2.0-RC2 . Users can login perfectly using grails.plugin.springsecurity.ldap.search.base setting for LDAP login authentication. There is a different setting for the rememberMe userDnBase (mapper) and that setting is: grails.plugin.springsecurity.ldap.rememberMe.usernameMapper.userDnBase The LDAP authentication grails.plugin.springsecurity.ldap.search.base is set to ou=people

PHP: Remember Me and security?

你。 提交于 2020-01-01 04:46:10
问题 During the time I've spent taking breaks from learning how PHP supports Unicode I've been delving into making my "Remember Me" cookies a bit more secure. However there are a few things I don't understand and a few of my own musings I'd like some suggestions and opinions on. 1) Is there any method to adopting a "Remember Me" feature that doesn't involve cookies? Curious since there are obvious security flaws in storing authentication cookies. Not that there aren't security risks in just about

Symfony FOSUserBundle Remeber me doesn't work

*爱你&永不变心* 提交于 2019-12-25 17:00:13
问题 I'm using FOSUserBundle with email as username. Tryin' to use the remember_me functionality but it's not working. I've read this Symfony2: "Remember me" tries to authenticate by username instad of email It's quite an old article and the username field in the database is set with the same value as the email so i don't understand why it is not working. Checking with Google Chrome Inspector the REMEMBERME cookie is set... Can someone help? This is my security.yaml providers: fos_userbundle: id:

Spring security Remember-me doesn't work

 ̄綄美尐妖づ 提交于 2019-12-25 14:14:58
问题 I'm trying to apply spring security with custom user detail service and custom authentication provider. Also, I'm trying to apply the remember-me functionality. However, somehow, after I configured the custom user detail service and custom authentication provider, the remember me stop working. When I check cookies from the client browser, it has the remember-me cookie. But, if I redeploy (restart) the server or restart the client browser, it redirects to the login page. Here I'm attaching my

Spring security Remember-me doesn't work

爱⌒轻易说出口 提交于 2019-12-25 14:14:07
问题 I'm trying to apply spring security with custom user detail service and custom authentication provider. Also, I'm trying to apply the remember-me functionality. However, somehow, after I configured the custom user detail service and custom authentication provider, the remember me stop working. When I check cookies from the client browser, it has the remember-me cookie. But, if I redeploy (restart) the server or restart the client browser, it redirects to the login page. Here I'm attaching my

Why am I always logged in even after closing browser with remember me set to false

时光总嘲笑我的痴心妄想 提交于 2019-12-25 05:50:44
问题 I've creating a working user/login system with the laravel 4 framework and all is working well. However I'm always logged into the site unless I run the logout process. I would assume that if I login, close all browser windows and open the browser again I would be logged out. This is not the case. In my Auth::attempt I am setting the $remember parameter to false even though it is false by default. I have no idea why this is happening. If I logout, close all my browser windows then open them

Creating cookies in php

夙愿已清 提交于 2019-12-25 05:16:32
问题 I am trying to learn how to use cookies from PHPNerds. I am having trouble in running the scripts that they have mentioned(I almost understand what the code does but I am unable to get which code will be stored with which name ). They are as below, User Login <html> <head> <title>User Logon</title> </head> <body> <h2>User Login </h2> <form name="login" method="post" action="login.php"> Username: <input type="text" name="username"><br> Password: <input type="password" name="password"><br>

Creating cookies in php

北城余情 提交于 2019-12-25 05:15:34
问题 I am trying to learn how to use cookies from PHPNerds. I am having trouble in running the scripts that they have mentioned(I almost understand what the code does but I am unable to get which code will be stored with which name ). They are as below, User Login <html> <head> <title>User Logon</title> </head> <body> <h2>User Login </h2> <form name="login" method="post" action="login.php"> Username: <input type="text" name="username"><br> Password: <input type="password" name="password"><br>

how to implement Persistent storage in android [duplicate]

泄露秘密 提交于 2019-12-24 11:40:19
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Persistent Data Storage in Android Development I want to implement persistent storage in my application to store the UserName, when the user selects "Remember me" Checkbox. Can anybody guide me for this? 回答1: You have to use shared preferences for this purpose. Shared preferences store information until the app gets uninstalled. This blog post gives an example. 回答2: There is a very interesting and official

sails.js Sessions - rememberme functionality

 ̄綄美尐妖づ 提交于 2019-12-24 00:43:18
问题 I have been trying to implement rememberme functionality using sails. I want a session to persist until the browser is closed. However, if a rememberme checkbox is ticked when the user logins in I want the session to persist for 30 days. I used the remember me passport strategy from here: https://github.com/jaredhanson/passport-remember-me but it ends up sitting on top of the sails session and the one called first ends up superseding the other. 回答1: You can set the cookie age just before