login 3 « Security « Spring Q&A





1. How to restrict max number of login attempts using Spring+Acegi?    forum.springsource.org

Hi, I am new to Acegi. I am currently working on a web app which uses acegi for user related security. Now I want to introduce a new enhancement in login ...

2. Keep username when login fails    forum.springsource.org

Is there a way to keep the last entered username in my login jsp when an Acegi login attempt fails, so that the user don't have to enter the username again? ...

3. Login user with username and password. Setting email in session    forum.springsource.org

Login user with username and password. Setting email in session Hi, i have read a lot of thread talking about subclass some class or implement specific interface and filter to get ...

4. forcing user to change his password after first login    forum.springsource.org

Hi, like in title, how to force user to change hers/his default password after first login attempt? I'm using form based authentication with SHA-512 password encryption. Thanks in advance. Regards.

5. Forwarding to strage files after login using Acegi    forum.springsource.org

Forwarding to strage files after login using Acegi Problem Definition: 1- Acegi is configured correctly and works fine.Authentication is working. User can login, logout, filters are working fine. 2- User logs ...

6. Acegi + I18n + Login screen    forum.springsource.org

Acegi + I18n + Login screen Here is the problem i have: 1- user types in the user id in which is in Thai letters 2- System authenticate the user password ...

7. How to require login based on a user setting    forum.springsource.org

I need to implement the following functionality: The user provides its username in the url. Depending on a user setting, the user may be required to login or not. The setting ...

8. access page via login page    forum.springsource.org

Hi all, when user accesses page and user is logged then everything works fine. But when user accesses page (page with non-ASCII parameters in URL) via login page (user is not ...

9. how to add attributes after Acegi login    forum.springsource.org

Hi all, I like to know how can I add attriutes to httpsession after Acegi login sucessfully. I implement my own Authenticate DAO and it work, but I like to add ...





10. Checking the user's login session..    forum.springsource.org

Checking the user's login session.. Hi, I want my application to check if the user is logged in for (almost) every request to a page by checking if the session is ...

11. Acegi login authentication using SWF?    forum.springsource.org

Anybody tried Acegi 1.0.3 or 1.0.4 using SWF, without using the Spring MVC's servlet.xml configuration in writing the LoginControllers. I am trying to create a login authentication component using Acegi & ...

12. Extra login for extra role    forum.springsource.org

Extra login for extra role The following situation occurs within the functional design of my webapp and I would like to have some suggestions whether this can be done with Acegi ...

13. Programmatically login with username and SHA encrypted password    forum.springsource.org

Programmatically login with username and SHA encrypted password Hi all, I'm currently working on AppFuse 2.0 application and trying to add email activation to the user registration process. After the activation ...

14. Help,how to excecute a method in a java file when using acegi for login    forum.springsource.org

Help,how to excecute a self defined method when using acegi for login I face a problem like this, for user login part, I use acegi for security purpose, and meanwhile when ...

15. How to get login Username from event listener?    forum.springsource.org

How to get login Username from event listener?(And logout issue) I have post this in the reply of "logging last login time" thread, I think it is better I post it ...

16. Digest Authentication seems to do a re-login with out prompt for username+password    forum.springsource.org

Aug 8th, 2007, 06:21 AM #1 martinahrer View Profile View Forum Posts Private Message Visit Homepage Member Join Date Jun 2006 Location Linz, Austria (Europe) Posts 30 Digest Authentication seems to ...





17. how to login with email/password combination ?    forum.springsource.org

hi, I want the user to enter his email and password at the login screen for getting into the system.Is it possible to have such type of email/Password scheme using Acegi ...

18. Need help in Acegi DB Login    forum.springsource.org

Need help in Acegi DB Login I am developing a web application by using acegi,spring framework.When i login to my application,it authenticates the username and password with user table using Acegi.But ...

19. Admin user login as someone else    forum.springsource.org

Admin user login as someone else Hi all I'd like to setup a 'login as' feature in my application. I have a few users who help with administration and support. I'd ...

20. Post Login User Setup    forum.springsource.org

Post Login User Setup Hi all, We have Acegi using LDAP authentication to allow users with specific roles to access our JSF system. However, we also want to do some post ...

21. Do I need Acegi for simple Login & user bean?    forum.springsource.org

Do I need Acegi for simple Login & user bean? Hello, I am working on a small research project and need this functionality: - Login-Area where the user can type in ...

22. Acegi login does not work    forum.springsource.org

Jan 6th, 2008, 01:07 PM #1 jojoseph View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Posts 7 Acegi login does not work I have been trying ...

23. How to restrict one user account can only login once at a time?    forum.springsource.org

Hi, I noticed by default, I can use the same username to login to the web app from different computers at the same time, how can I modify this behavior so ...

24. Simple Login: Do I need Acegi?    forum.springsource.org

Simple Login: Do I need Acegi? I want to achieve this: 1. My welcome page shall include fields for username, password and e.g. location. 2. Authentication should be against a MySQL-DB. ...

25. Programmatic Acegi login    forum.springsource.org

Programmatic Acegi login I'm trying to programmatically login users in to our system after they've filled out a user info screen with the following code: Authentication auth = new UsernamePasswordAuthenticationToken(userEdit.getUs ername(), ...

26. Updating a flag in User table at the time of login    forum.springsource.org

Hi All, I use ACEGI Security Framework, Spring, Hibernate. Currently I use dao authentication, I what to update logged_on flag column to 'Y' in user table, when user login to the ...

27. Acegi Login not going through OpenSessionInViewFilter    forum.springsource.org

Acegi Login not going through OpenSessionInViewFilter Hi all, I have a strange issue with OpenSessionInViewFilter and Acegi security. During login, I am building a customer session object. during this building process, ...

28. Change the Look and Feel of the spring_security_login page in spring-security-2.0.0?    forum.springsource.org

Anybody knows how to Change the Look and Feel of the spring_security_login page in spring-security-2.0.0? I need put on the company logo, and change the button text from "Submit Query" to ...

29. Spring Security 2.0 not generating login page    forum.springsource.org

Hi, I am using the very basic auto-config for Spring Security 2.0 on WebSphere 6.1, I get this error when trying to access the site: Error 404: SRVE0190E: File not found: ...

30. after login, spring security does not bring back prvisous URL.    forum.springsource.org

after login, spring security does not bring back prvisous URL. Here is my applicationContext-security.xml, when I access http://localhost:8780/arden/imageupload.spring, spring security will bring me to http://localhost:8780/arden/loginform.spring, after I did login, spring security ...

31. Login page in Spring Security    forum.springsource.org

Login page in Spring Security Hi, all. As far i can remember - in Acegi security you no need to manually add access to login page or remove this page from ...

32. different entry page depending on login role    forum.springsource.org

Dear community I'm totally new to spring security or acegi. We use acegi in our web app (which I had nothing to do with so far) for authentication. My simple question ...

33. How to implement Acegi in two different login pages    forum.springsource.org

How to implement Acegi in two different login pages Hi all, I would like to implement Acegi for my application.I have two tables. One is User table Code: CREATE TABLE `tbl_user` ...

34. Configuration of Form login + Custom Authentication Provider    forum.springsource.org

Configuration of Form login + Custom Authentication Provider Could anyone give me some feedback on this? I always get a "org.springframework.security.AuthenticationCreden tialsNotFoundException: An Authentication object was not found in the SecurityContext" ...

35. how to provide an xml based login in Spring Security    forum.springsource.org

Hi All, I am using spring security for web application but i want provide an xml based login how to do that..? Thanks in Advance

36. Best way to handle separate logins for different groups of users    forum.springsource.org

Best way to handle separate logins for different groups of users I have a number of different groups of users. Each has a different login page currently with a hidden field ...

37. Load user details on login    forum.springsource.org

Load user details on login Greetings, We're using Spring Acegi security in our webapp, and once the user has been authenticated I need to load an associated 'User' object and place ...

38. Customizing username/password/rememberme-Attributes of Form Based Login    forum.springsource.org

Hello again, is it possible to customize the expected attributes for username, password and rememberme (checkbox)? I'd like to move away from "j_*" attributes. Best regards, Andreas

39. Authenticate again after login    forum.springsource.org

Authenticate again after login Hello, I like to ask if there is a way to do the same authentication after successfully logging into web application. This is my scenario. At the ...

40. How to use a custom login form with Acegi    forum.springsource.org

Hi I am complete novice at Spring security . My application is using a combination of Struts and Spring, and i am trying to configure Acegi to use LDAP authentication. My ...

41. Bypassing login page if user already logged in    forum.springsource.org

Bypassing login page if user already logged in I am spring newbie and am trying to build a login flow in a web application. What I want the app to do ...

42. login fail page under spring and acegi    forum.springsource.org

login fail page under spring and acegi hi all I have basic experience in java servlet, jdbc ,I want to learn spring I try to learn spring, recently I try spring ...

43. Authentication using login info. from another webapp    forum.springsource.org

Authentication using login info. from another webapp Hello everybody, I've got a problem regarding authentication that I need help with. We have built a brand new webapp using Spring 2.5.5 and ...

44. DispatcherServlet, spring_security_login and css files    forum.springsource.org

DispatcherServlet, spring_security_login and css files Hello I'm getting in a muddle with the URLs I'd like to include and exclude from the springSecurityFilterChain. What I'd like to happen is for only ...

45. Need to use diffrent login pages for diffrent users    forum.springsource.org

How to implement more than one login page ??? Hi All, i want to use different login page for different users. Let me tel u my requirment. i have 4 diff ...

46. need help with spring security, login tries to access other resources    forum.springsource.org

need help with spring security, login tries to access other resources hey everyone, I have developed a spring web application and am in the process of adding login and spring security. ...

47. Using two login forms to secure two groups or urls    forum.springsource.org

Using two login forms to secure two groups or urls I've been trying for weeks to do this: I have two groups of URLs in my application and I want to ...

48. How to update Authentication object after successful login?    forum.springsource.org

How to update Authentication object after successful login? Hi, I have a unique requirement here. I want users of my application to log in using LDAP authentication however once the authentication ...

49. Extra label in login Spring-Acegi Security    forum.springsource.org

It depends what extra "label" (I assume you mean a form field as well, not just extra text) you want to add. If you're wanting to add "Remember me", then you're ...

50. Reset password form/login page authentication problem. Help??    forum.springsource.org

Dec 3rd, 2008, 02:37 PM #1 Developer Dude View Profile View Forum Posts Private Message Senior Member Join Date Oct 2008 Posts 136 Reset password form/login page authentication problem. Help?? Excuse ...

51. actively get the session and auto login the user.    forum.springsource.org

actively get the session and auto login the user. Hi, I have to applications running on a CAS based authentication using acegi. So if a user logs into application A, then ...

52. remember username and password after login failure    forum.springsource.org

remember username and password after login failure Hello! For my current customer I have created a custom login page with a Captcha. Everything works fine, but my customer now want to ...

53. need to secure all calls except login page    forum.springsource.org

54. forward to last requested url before login after authentication    forum.springsource.org

I have few restricted urls and few open urls. e.g Open URL A -> go to > Restricted URL X bring login form - submit -> go to Restricted URL X ...

55. Forced Change Password on login    forum.springsource.org

We are trying to force web user to change password on login using forms authentication. Once the user changes the password succesfully they should be automatically logged into the site. We ...

56. user login details    forum.springsource.org

I am using spring default authentication i.e. j_spring_security_check (must), but i need to log the result information either it success or fail in db table, i tryed with filter and listener ...

57. Simplest login security example?    forum.springsource.org

Simplest login security example? Hi All, I'm learning Spring, I have developed a basic web app. but now want to add login security to it, basically I want the user to ...

58. Advantage of spring security over form based login    forum.springsource.org

Hi All, I have an application that currently uses servlet form based login. What are the advantages of Springs security mechanisms over the current method I'm using? I don't need anything ...

59. Workflow: Register, Send mail to user, Confirm, Login    forum.springsource.org

Workflow: Register, Send mail to user, Confirm, Login 1. User registers. 2. The user account is stored in the db with a sha encoded password. The user is not logged in ...

60. get login name and password and insert into db    forum.springsource.org

SecurityContext securityContext; securityContext = SecurityContextHolder.getContext(); Authentication a = securityContext.getAuthentication(); //you get more details from authentication object, like authorities, details, name, principal

61. Login with fixed username    forum.springsource.org

Login with fixed username Hi, I am trying to create a login screen with password only. Username is already known. To understand that, go to some OpenID enabled site (http://getsatisfaction.com for ...

62. Fundamental issue in Spring Security visiting an http page after login, workarounds?    forum.springsource.org

Fundamental issue in Spring Security visiting an http page after login, workarounds? I'm a little confused and am extremely anxious to solve this issue so I can launch my application. Everything ...

63. Security(login and access leveling)    forum.springsource.org

I trying to build a dekstop application(client-server) using SPRING RCP...what the best way to manage access leveling? But the database will take in a server, so I muss access the database ...

64. "User session expired" on custom login page with Spring Security and ICEfaces    forum.springsource.org

"User session expired" on custom login page with Spring Security and ICEfaces Hi, I've posted this problem on ICEfaces forum (http://www.icefaces.org/JForum/posts/list/13693.page), but maybe someone here thinks is a Spring Security issue. ...

65. Two login forms with acegi    forum.springsource.org

Is it possible to configure acegi with two login forms. The first login form will have the company login and after success, the second form will be the employee login. my ...

66. Grails + acegi = do login on BootStrap    forum.springsource.org

Grails + acegi = do login on BootStrap Hi, im using grails + acegi for authentication, and the plugin is working well. My problem is: i wanna authenticates a user by ...

67. click on wrong login role direct to login error page    forum.springsource.org

click on wrong login role direct to login error page hi, in spring + acegi login page , I have admin , and staff two link , if the admin acident ...

68. multiple authentication Managers / form logins    forum.springsource.org

Hello everybody, I'm new in Spring Security. Now I have one question: Is it possible to configure multiple form-logins, each with different authentication Managers? thank you. Christian

69. javax.servlet.ServletException: No message found under code 'login.userName' for    forum.springsource.org

javax.servlet.ServletException: No message found under code 'login.userName' for Hi, May i know the reason why i am getting this error. i have the message.properties file in /WEB-INF/classes. I am using filter ...

70. Logging of user login    forum.springsource.org

Hey! I' ve a question: I would like to know when a user have log in for the last time. This is a simple function but i haven't a clue how ...

71. help on spring security multiple login page    forum.springsource.org

Remove "none" for "/j_spring_security_logout" and add filters for /j_spring_security_check too. Are /portal_STU.zul, /portal_INA.zul, /portal_MER.zul, /portal_ADM.zul, and /portal_SPN.zul all possible URLs? Consider to use wildcard *.

72. concurrent login user not working    forum.springsource.org

Sep 16th, 2009, 05:21 AM #1 marcKun View Profile View Forum Posts Private Message Member Join Date Mar 2009 Location PHP Posts 56 concurrent login user not working Hi guys, I've ...

73. Spring Security - How to give role to login user    forum.springsource.org

Spring Security - How to give role to login user CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /secure/admin/**=ROLE_ADMIN ...

74. How to get the user and if the user have a succeful Login    forum.springsource.org

Hi, I need to get the user name and credentials are corrects to trigger a event, can you tell me if exist a way to do this. Thanks

75. Users report they login and get the wrong user, with higher privilegies    forum.springsource.org

Oct 9th, 2009, 09:13 AM #1 RockBop View Profile View Forum Posts Private Message Junior Member Join Date Oct 2009 Posts 6 Users report they login and get the wrong user, ...

76. Spring Security and Ajax Login    forum.springsource.org

Spring Security and Ajax Login I've got Spring Security working fine. However, now I want to switch to using an Ajax style login box that is on every page in the ...

77. A basic Spring Security usage scenario: integrating with application user login/logou    forum.springsource.org

I have a user login mechanism in place. And a user can have one or more roles based on my understanding of the Role definition within Spring Security. Code: public class ...

78. localze spring login form : SPRING_SECURITY_LAST_EXCEPTION.message?    forum.springsource.org

Greetings all, I want to localize the error message given by "SPRING_SECURITY_LAST_EXCEPTION.message" . At the moment I use as Code: Your login attempt was not ...

79. Spring-Security Custom Login Page    forum.springsource.org

Spring-Security Custom Login Page When i am using a Custom Login ...

80. Infinite loop using Spring Security - Login page is protected    forum.springsource.org

Infinite loop using Spring Security - Login page is protected I have a Spring application (Spring version 2.5.6.SEC01, Spring Security version 2.0.5) with the following setup: web.xml index.jsp ...

81. I am using spring security, Images is not rendering in login page.    forum.springsource.org

I am using spring security, Images is not rendering in login page. I am using the following configuration for spring security and i am able to do Authetication and Concurrent Session ...

82. Spring Security login logging    forum.springsource.org

Spring Security login logging Hello, I'am using the Spring Framework into my webapplication, and it is configured like this: Into the web.xml of Tomcat: Code: springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain ...

83. Spring Security 3.0 Problems with login    forum.springsource.org

Spring Security 3.0 Problems with login I have configured my first login with spring security, but it doesn't work. My config: web.xml: springSecurityFilterChain org.springframework.web.filter.DelegatingFil terProxy springSecurityFilterChain /* ...

84. Spring security login hanging    forum.springsource.org

Hi, I am currently working on a project that uses Spring and Hibernate. It makes use of the spring security login, but occasionally it hangs for about 10minutes before giving a ...

85. ProcessingFilter: login without password    forum.springsource.org

ProcessingFilter: login without password Hi there, For an application, I'd like to login with an activationhash that is sent to the user by email. I created a filter and tried to ...

86. 2 step login using spring security    forum.springsource.org

2 step login using spring security The use case is every existing account requires to create an nickname after authentication. If a nickname is not chosen after authentication, he/she will not ...

87. spring security : multiple login form    forum.springsource.org

spring security : multiple login form Hi Friends I need some help in spring security in my project. I require two different login pages. One page has three fields user name, ...

88. not able to authenticate user after Login    forum.springsource.org

not able to authenticate user after Login Hi, I am new to spring security. I am trying to authenticate user using spring security.Actually i am trying to modify the example provided ...

89. how to save user data in the session after login?    forum.springsource.org

90. Spring Security 3 and Ajax type login    forum.springsource.org

Spring Security 3 and Ajax type login I'm new to Spring Security. However, in a fairly short time I've got it integrated with my project, compiling, and basically working. Now, my ...

91. Spring MVC and Security: i18N for my login page    forum.springsource.org

92. Spring Security 3.0 Login Page    forum.springsource.org

Hello, Does anyone have a good example of a custom login page using spring security 3.0, or have any good sources? I've found a few samples online, but they are too ...

93. Login failed because: Authentication method not supported: GET.    forum.springsource.org

Login failed because: Authentication method not supported: GET. I'm getting the following error -- sometimes: Login failed because: Authentication method not supported: GET. Login works fine if I start a new ...

94. Spring Security stripping portion of URL after successful login    forum.springsource.org

Spring Security stripping portion of URL after successful login Hi all, I have Spring Security 3 up and running and it's all working great except for something I just can't figure ...

95. User Login/Registration/forgot password    forum.springsource.org

User Login/Registration/forgot password I asked this question on the BlazeDS integration project because of the ChannelSet integration, but thought I'd ask it again more generically. Did a long search but cannot ...

96. Access denied after successful login??    forum.springsource.org

Access denied after successful login?? greetings all my app on the server looks like this: sub.someName.com login page: sub.someName.com/login after login the user is redirected to home page: sub.someName.com/home when try ...

97. Setting custom Post-Login Destinations based on user ROLES    forum.springsource.org

I want to set custom Post-Login Destinations based on user ROLES in my application. for example : If a form login isn't prompted by an attempt to access a protected resource, ...

98. Need help in Spring security login    forum.springsource.org

Need help in Spring security login In my application In index page I am displaying spring security login page which gives default by spring. This is working fine for me. Now ...

99. Spring Security While login    forum.springsource.org

Spring Security While login Hi Sir/Madam, I am using Spring security to validate the credentials with Mysql database using query: Code: beans:bean id="luserDetailsService" class="org.springframework.security.userdetails.jdbc.JdbcDaoImpl"> SELECT email_address AS username, password, ...

100. Access HTTP Session after successful login using "remember_me"?    forum.springsource.org

Access HTTP Session after successful login using "remember_me"? I am having trouble accessing the HTTP session after a user is successfully authenticated. I would like to add some information to the ...