login 2 « Security « Spring Q&A





1. OAuth Login Configuration    stackoverflow.com

I´m trying to develop my own oauth provider, which should be used by an android client, with the aid of the greenhouse application. If tried to get familiar with the greenhouse ...

2. What are the steps to change a simple login application into a Spring Security applicaiton    stackoverflow.com

I have a login page and users can login(passwords and user names are at a file) with that page. After login process a new web page opens. If anybody else doesn't ...

3. Spring - Do some action after login    stackoverflow.com

I need to store actual date in DB after a successful user login. How to do that ? Filter, handler or something ? Need help.

4. Spring Security forgets authentication with custom login form    stackoverflow.com

I followed more or less this description to create a custom login form: http://technology-for-human.blogspot.com/2011/01/jsf-2-with-spring-3-protection-with.html The login form uses a LoginBean, and the LoginBean uses an AuthenticationService:

@Service("authenticationService")
public class AuthenticationService {
 ...

5. Spring Security 3: Multiple login pages    stackoverflow.com

I need to make two login pages for two roles of users. How to do that in Spring + Spring Security 3 ?

6. MVC Form based Spring Security login?    stackoverflow.com

I have an application that uses Spring Security to control access to pages, to manage user roles (GrantedAuthority) and for ACL. The application uses the standard UsernamePasswordAuthenticationFilter that intercepts requests to ...

7. Spring 3.x configuration for multiple login pages    stackoverflow.com

I'm using Spring 3.1 for authentication purpose. My requirement:

  • Two different login pages. One for Customer and other for Employee.
  • Each after successful authentication, will be forwarded to respective successful URL.
My spring security configuration:
<sec:http ...

8. Custom login checks (Grails Spring Security)    stackoverflow.com

In our system, users are never deleted from the database. What we do is to anonymize their information and add a timestamp in the date_delete column. How do I configure Grails ...

9. org.icefaces.application.SessionExpiredException: Session has expired with spring security login    stackoverflow.com

i am getting the above exception when trying to login in icefaces with spring security, and i don't have any session configuration in my web.xml i am getting the exception when clicking ...





10. Getting Access is denied in login page    stackoverflow.com

i am using spring security 3 with JSF 2 ICEFaces 2 and i configured my application as follows:

  1. All the pages are protected (requires authentication) except for login.
  2. Login page is non filtered, ...

11. Adding user to session, spring security default login    stackoverflow.com

I have set up spring security to intercept correctly and prompt user with custom login page, that then authenticates correctly and adds userdetails to SecurityContextHolder. Supplementary to that I now want to ...

12. Is it possible to display different login views when using Grails Spring Security plugin    stackoverflow.com

I am working on a Grails app that has two websites: a regular "desktop" site, and a mobile site where all the presentation is done using jQuery Mobile. To distinguish these ...

13. Why could a Spring3 Security login work only exactly once until the server is restarted?    stackoverflow.com

Everything works like a charm the first time I login after deployment of my Spring security app. But after the first logout, I can't login again until the service is restarted! ...

14. Programmatically login in a user using spring security    stackoverflow.com

The opposite of this. In my app I have register new user screen, which posts to a controller which creates a new user within db (and does a few obvious checks).I ...

15. How to login on a website that uses Spring Security from another website?    stackoverflow.com

For simplicity let's call the 2 sites:

  • A - the site the user is already on
  • B - the site that uses Spring Security where the user must get
The flow i'm trying ...

16. Setting Grails/Spring Locale during Spring Security login - how?    stackoverflow.com

In my Grails 1.3.7 application, I store the user's language and country in a domain class. During a (Spring Security) login, I want to set the locale for the user session to ...





17. sessionScope.SPRING_SECURITY_LAST_USERNAME doesn't print anything after login    stackoverflow.com

i followed the configuration in the following sample: http://facestutorials.icefaces.org/tutorial/spring-security-basic.html and i am trying to print the logged in username after successful login but it doesn't print anything, any ideas why ? code:

#{sessionScope.SPRING_SECURITY_LAST_USERNAME}
please advise. ...

18. Step by step login example using spring security 3.0 with hdbc    stackoverflow.com

I am new to spring and spring security. I just need a pointer in the right direction: I have a simple Spring MVC/Spring Security webapp. i want to add login funtinality into ...

19. What are people doing for login security on web applications?    stackoverflow.com

I am using Eclipselink, Spring and an Oracle database. How should I configure security and the database connection? I am looking for tutorials/articles that would address this or at least give ...

20. Spring Security Login issue    stackoverflow.com

I am new to Spring Security and have configured Spring Security in my Spring MVC application. After submission of login page, I am getting the following error The requested resource (/j_spring_security_check) is ...

21. Different target URLs for user roles    stackoverflow.com

How to configure different target URLs after login based on user roles? I'm using Spring security plugin.

22. Issue with displaying error message on Login page in Spring Security    stackoverflow.com

I have integrated Spring Security in my application , and would like to display an error message to the user in case of Bad credentials. I have wired everything in to display ...

23. How to restore form after login in spring security?    stackoverflow.com

There is form with 10 fields. When form is submitted, user should be validated. With spring security, login is shown after submitting form. And after login form data is lost. Is there are ...

24. j_security_check is not available    stackoverflow.com

I am using spring 3.0 and im trying to get my login page working but i get this error

The requested resource (/myapp/j_spring_security_check) is not available.
I am posting the content of all ...

25. Spring Security + Flex + BlazeDS Login Issue    stackoverflow.com

We have a problem on our companies FLEX/Spring/BlazeDS app. Basically, in FireFox and IE (not Chrome) if you authenticate multiple times with the website (login / logout / login / logout), ...

26. Spring security blocks user after failed login    stackoverflow.com

I'm using spring-security 3. I tried to login to the application and filled with the wrong user/pass combination. After 3 wrong attempts, I filled with the right user/pass combination, but it still ...

27. Multiple login forms, different authentication managers - latest spring security    stackoverflow.com

I have a web application secured with Spring Security that needs two separate login forms. These two login forms need to be totally independent. I mean different login form, different url ...

28. Cannot find the action name spring_security_login    forum.springsource.org

Cannot find the action name spring_security_login I am using Strut2 with Tiles along with Spring security and Spring MVC. I am new to Spring Security and Spring MVC. I am getting ...

29. spring security stay on single url at login    forum.springsource.org

spring security stay on single url at login hi there, here is my case. when first time user land to site, they will pointed to login page. (lest say http://ex.com/) and ...

30. Login problem "Reason: User account is locked"    forum.springsource.org

This is happening because the UserDetails that is returned from the UserDetailsService is returning false for UserDetails.isAccountNonLocked(). The way to resolve it really depends on the implementation of the UserDetailsService that ...

31. Login without or with incorrect username = error    forum.springsource.org

Jan 7th, 2011, 04:05 AM #1 jeeper View Profile View Forum Posts Private Message Senior Member Join Date May 2010 Posts 317 Login without or with incorrect username = error Hello, ...

32. Spring 2.5 login not responding even with correct username/password    forum.springsource.org

Jan 8th, 2011, 04:10 AM #1 nikos lianeris View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Nov 2010 Location Athens Posts 12 Spring 2.5 login not ...

33. Security Exception when login turn different    forum.springsource.org

Security Exception when login turn different Hi all. i get problem that really weird. my case is almost the same with this thread : http://forum.springsource.org/showthread.php?t=100777 but i can't get the right ...

34. login with ip address authentication    forum.springsource.org

hi, i have a project that requires the ip address, username and password for authentication when performing login. what should I do for a case like this? thanks.

35. User exists, Authority does not -> Login    forum.springsource.org

User exists, Authority does not -> Login Hello, Ive got one question. Today I had an error in my database (the ids were not correct - unimportant) and I noticed a ...

36. Multiple login pages [Security 3]    forum.springsource.org

Hi guys, How can I allow multiple login pages in my app? I have two differents paths: /administracao // the site administration /biblioteca // A library I need different login pages ...

37. How does Spring Security Work With Spring Social in User Login?    forum.springsource.org

For our app, I need to let user login with social media option. After a user sign in with a FB account, our app needs to check whether the FB profile ...

38. Help on spring security 2.0.5 multiple login page    forum.springsource.org

39. Loosing Authentication after Login    forum.springsource.org

Loosing Authentication after Login Hi, I am using Spring Security3.0 and Web flow 2.1 and prime faces I am using daoAuthenticationProvider. I have couple of questions here. 1)In my security.xml, I ...

40. how can non-interactive clients login and access protected resources?    forum.springsource.org

Hi I have a collection of web services that make calls to each other passing XML. The URLs they access are protected. Can anyone suggest an easy way to set up ...

41. Spring Security 3 with Hibernate - cannot login    forum.springsource.org

Hi there! Can anybody show me how to implement Spring Security 3 with Hibernate? I use this: http://stackoverflow.com/questions/4...password-issue - password save to database with hash but I cannot login. I have ...

42. Access is denied to login; How do I make it goto login screen    forum.springsource.org

I am using the Spring Security default login page and if my user get to a page that he should not be getting to based on role and url he gets ...

43. Dynamic Login Page with Spring Security 3    forum.springsource.org

Dynamic Login Page with Spring Security 3 What would be the easiest / best way to have a dynamic login with with SS3? I am currently using a config like the ...

44. Login attempts - Spring security    forum.springsource.org

Login attempts - Spring security Hi, I have a requirement to capture the number of invalid attempts by user on login page. On each invalid attempt I need to render a ...

45. I can not login when using spring security 3 + hibernate    forum.springsource.org

May 2nd, 2011, 11:43 PM #1 raindrop2010 View Profile View Forum Posts Private Message Junior Member Join Date Oct 2010 Posts 3 I can not login when using spring security 3 ...

46. Can't access 'secured' resources - redirected to login page    forum.springsource.org

Oct 21st, 2004, 09:35 AM #1 owenrh View Profile View Forum Posts Private Message Junior Member Join Date Oct 2004 Location Bristol, UK Posts 5 Can't access 'secured' resources - redirected ...

47. Spring security custom login error messages    forum.springsource.org

Spring security custom login error messages Hi, I am totally pressed for time so I have to ask this question here: I use spring security for login/logout and I implemented a ...

48. Inform the user after two failed login attempts in Grails Spring-Security powered app    forum.springsource.org

Hi, The login requirement for our Grails app is that after two failed login attempts, the user is prompted with a new question right below the fields asking if the user ...

49. how to access the default login/logour page    forum.springsource.org

Hi, I am not using namespaces and when i try to access to defaults login/logout pages /j_spring_security_check i have this error: authentication method not supported get and an HTTP 404 error ...

50. Spring Security - login page - onchange set locale    forum.springsource.org

Spring Security - login page - onchange set locale Hi, Please let me know on how to change the locale of the login page, when on-change of value from a dropdown ...

51. Difficulty launching script-initiated login after password upgrade from text to SHA1    forum.springsource.org

Difficulty launching script-initiated login after password upgrade from text to SHA1 I am running Spring security in my Java project. Users are authenticated via a MySQL user table with email address ...

52. Timeout and the Login pages with Form based authentication    forum.springsource.org

Timeout and the Login pages with Form based authentication Hi, I am trying to configure a timeout page with form based authentication. But it appears when the timeout happens Acegi treats ...

53. Access login page data after user is authenticated    forum.springsource.org

public class MyHiddenObject{ private String value_1; private String value_2; ......... private String value_5; //getter and setters ........ }

54. Spring Security Login Page    forum.springsource.org

I developed an application that uses Spring Security's default login page. However I want to implement my own login page. I will put a login.html instead of a jsp page. I ...

55. authentication login more than once problem    forum.springsource.org

authentication login more than once problem Hi, I am new to Spring security. Here is a question that might be very simple to some people: I created a client application which ...

56. Multiple login forms issue in spring security    forum.springsource.org

Multiple login forms issue in spring security Hello All... I tried using 2 login forms in spring security. Every thing is fine.. but for mobile login.. when user is providing wrong ...

57. Spring+Acegi able to visit login screen, but old session is retained.    forum.springsource.org

Spring+Acegi able to visit login screen, but old session is retained. I have Spring + Acegi and everything is working fine, except when I don't log out and I re-visit the ...

58. spring-security-core plugin ajax login question    forum.springsource.org

The documentation says: if the authentication succeeds: a redirect to /login/ajaxSuccess occurs (this URL is configurable) Any way to not redirect and stay on the current page? Is this not recommended? ...

59. Existing JAAS Form Login, moving to spring security    forum.springsource.org

Existing JAAS Form Login, moving to spring security Hi All, We have a web application that using JAAS via form Login. A login page is presented and the user enters username/password ...

60. How do i capturing user login date and time?    forum.springsource.org

How do i capturing user login date and time? Does spring provide a call back to capture a successful authentication? or provide some other means to do this? I have spring ...

61. User login controlling in Spring MVC    forum.springsource.org

62. sessionScope.SPRING_SECURITY_LAST_USERNAME doesn't print anything after login    forum.springsource.org

Probably because it isn't stored in the session. If you have a valid logged in user, then use the standard servlet API methods to retrieve the user name, as Spring Security ...

63. how to enable multiple user logins on multiple browser tabs or instances    forum.springsource.org

how to enable multiple user logins on multiple browser tabs or instances Hi: I am using spring security in my web application. Is there a way I can enable different user ...

64. programmatic login using spring security    forum.springsource.org

I have a website that spring security for authentication. It works fine. When User registers the to site, I would like to login the user automatically to the website. What is ...

65. spring security 3.1 + legacy servlets + ajax login    forum.springsource.org

spring security 3.1 + legacy servlets + ajax login Hello, As I'm adding spring security 3.1 to legacy servlets, and would avoid mixing legacy servlets and spring controllers, I need to ...

66. SVN Login prompt won't save password    forum.springsource.org

SVN Login prompt won't save password Hi Guys, I just recently upgraded to sts 2.8.1 and I'm very pleased with the m2e 1.0 integration and all the other goodies. For some ...

67. How to prohibit concurrent user logins?    forum.springsource.org

How to prohibit concurrent user logins? I'm trying to implement a login system that only allows a user to have a single session running at any one time. What I mean ...

68. Acegi - Login Tapestry    forum.springsource.org

Acegi - Login Tapestry Ben, Has this been implemented in the SecurityEnforcementFilter to ignore if the same page has been requested, (login in secure filter). I notice that there are some ...

69. Acegi - Login Tapestry another clarification    forum.springsource.org

Acegi - Login Tapestry another clarification Ben, As I understand it, in the AbstractProcessingFilter, if the URL is for authentication, then the filter chain is not continued and the response is ...

70. how to write a login form use acegi ? what's wrong with me?    forum.springsource.org

how to write a login form use acegi ? what's wrong with me? how to write a login form use acegi ? what's wrong with me? the requested resource (/j_acegi_secuity_check) is ...

71. how to process single login in Acegi?    forum.springsource.org

when a user is logined, i want to prevent other user login my system using same user id and same password. how to process single user login in this condiction.thanks

72. Acegi can been integrated if a login user has two passwords?    forum.springsource.org

I try this way to integrate my application with Acegi while a user has two passwords,but i don't think this is a good idea,is there any solutions to this question: 1extends ...

73. Open the login page in case that the user is not logged in.    forum.springsource.org

Mar 21st, 2005, 04:32 AM #1 sherihan View Profile View Forum Posts Private Message Member Join Date Jan 2005 Posts 76 Open the login page in case that the user is ...

74. Supporting single user with multiple concurrent logins    forum.springsource.org

Supporting single user with multiple concurrent logins As what I am trying to do is pretty specific let me briefly outline the use case. We have a CMS framework that can ...

75. user login    forum.springsource.org

hi all, i m new to spring ...can any1 plz send me a sample code for a user to login retreiving his username and password from the database.... Thnx in advance.. ...

76. Strange endless loop using ACEGI due to unsuccessful login    forum.springsource.org

Aug 3rd, 2005, 09:22 AM #1 danjla View Profile View Forum Posts Private Message Junior Member Join Date Aug 2005 Location Denmark Posts 4 Strange endless loop using ACEGI due to ...

77. authentication successful but browser displays login page    forum.springsource.org

authentication successful but browser displays login page Hi, I'm making my first steps to integrate Acegi as a weblogic replacement. I use the following definition in web.xml: Code: secured/redirect.jsp ...

78. acegi - as400 login and separate database roles    forum.springsource.org

acegi - as400 login and separate database roles Hello, what I'd like to do is : minimize the number of password that users need to remember authentification : verify the password ...

79. Acegi first app -> login loop    forum.springsource.org

Hi all, I'm just using acegi for 1 week and I've a little problem. When I launch my Struts-Spring-Hibernate Webapp I receive the login form. Good! But When I try to ...

80. Limiting user to one account login    forum.springsource.org

I have an application in which I am required to only allow one user (session) to maintain the account at a time. In the past I have placed the account number ...

81. How to Restrict Login by Number of Active Online Users    forum.springsource.org

Im using Acegi with CAS to have a single Sign On, until now, everything works fine. But I had a new requirement: I need to restrict the user login, beyond using ...

82. Exclude login-page from security constraints    forum.springsource.org

Jan 9th, 2006, 01:19 PM #1 -FoX- View Profile View Forum Posts Private Message Senior Member Join Date Mar 2005 Posts 135 Exclude login-page from security constraints I'm having some problems ...

83. After user changes password, they can login again with old password    forum.springsource.org

I'm experiencing some strange behavior in AppFuse: http://issues.appfuse.org/browse/APF-100 Basically, a user's password doesn't seem to be getting reset by Acegi (after changing it) until the user uses the new one. Here's ...

84. User login implementation    forum.springsource.org

User login implementation Hi I'm new with acegi and I may have missed or misunderstood something while reading the reference and examples. I have Spring web application and before integrating acegi ...

85. user initiated login possible?    forum.springsource.org

user initiated login possible? Is there a way to allow users to initiate login without them navigating to a protected URL? Here's the use case: Your web application has a home ...

86. Customizable Acegi login?    forum.springsource.org

Customizable Acegi login? Hi, I need some help related to the Acegi login. I want to be able that after the login is commited(immediatly after) to add some extra variables to ...

87. How to use Acegi Security login for both spring framework app and regular servlet app    forum.springsource.org

How to use Acegi Security login for both spring framework app and regular servlet app Hello, I am new to Acegi security and spring framework. Currently, we have a normal servlet ...

88. With invalid privilege also user is able to login.    forum.springsource.org

Currently am integrating my application with Spring Security acegi framework. I need to authenticate the login page. So, Iam using the MethodSecurityInterceptor and setting the login method to objectDefinitionSource property. But ...

89. I use form-based authentication, the action of login page is 'j_acegi_security_check'    forum.springsource.org

I use form-based authentication, the action of login page is 'j_acegi_security_check' I use form-based authentication, the action of login page is 'j_acegi_security_check'; and I implements 'UserDetailsService' interface in my DAO authentication ...

90. What's the best way to update user login count?    forum.springsource.org

Whats the login count supposed to represent? Failed logins, succesful logins? Regardless if you implement an ApplicationListener you can listen for Acegi events. On the link below there is a section ...

91. Unable it implement Login Service: what Authentication details?    forum.springsource.org

I want to provide a remote service for rich client to login and logout. As its implemented now, the service goes to the authentication manager to authenticate by using a UsernamePasswordAuthenticationToken. ...

92. Custom role/login based on time    forum.springsource.org

Custom role/login based on time Hello all, I would like to use ACEGI so that a basic user, say role1 could have its role changed to role2 based on a schedule. ...

93. Multiple login pages and authentication    forum.springsource.org

Aug 10th, 2006, 12:00 PM #1 a1slam View Profile View Forum Posts Private Message Junior Member Join Date Aug 2006 Posts 3 Multiple login pages and authentication Hi, I'm new to ...

94. Ajax based login using Acegi    forum.springsource.org

I wrote a blog entry on how to create an Ajax based login using Acegi. Here's the URL http://jroller.com/page/sjivan?entry...in_using_aceci Let me know if there's interest in incorporating this functionality into Acegi. ...

95. Automatic login after user registration    forum.springsource.org

Automatic login after user registration Hi, I have an existing struts action that sticks a row in my users table and then does a redirect (yikes, passwords on a GET = ...

96. Attempting a login page for Acegi using a JSF backing bean    forum.springsource.org

Attempting a login page for Acegi using a JSF backing bean Hi, I'm quite new to Acegi but I have gone through the suggested steps and did manage to successfully secure ...

97. Acegi in non login+password scenes    forum.springsource.org

Acegi in non login+password scenes Hi, I have a question: I have an application that performe the authentication taking a username and a fingerprint, i have a device that capture a ...

98. "terms of usage" screen on users first successful login    forum.springsource.org

"terms of usage" screen on users first successful login Hi All, I have Acgi Security implemented for login process and it works well. I now want to enhance this to display ...

99. 2 user logins on the same page    forum.springsource.org

2 user logins on the same page Hello all, I am developping a spring hibernate application and I would like to know if it is possible to have 2 user login ...

100. login via acegi from TestCase    forum.springsource.org

Hi! To test some of my units a user have to be logged in to the system (a web app) since these classes need some information retrieved by ((SecurityContext) SecurityContextHolder.getContext()).getAuthenticat ion().getPrincipal() ...