login 2 « Web « Spring Q&A





1. How to return to invoking page eg. after login?    forum.springsource.org

How to return to invoking page eg. after login? Hello, Imagine situation when you are on page with details for some article e.g. /showDetails.htm?articleID=267, and on that page you have login ...

2. weird login problem with browser close    forum.springsource.org

weird login problem with browser close Hi. I'm struggling with a weird login problem when closing the browser. I use HTTPS to access a webservice with basic authentication. Acegi does a ...

3. first time login?    forum.springsource.org

I am new to acegi. I made a loginsystem, and it works fine, but when users register, I give them an automated password. The first time they login, I want them ...

4. bypassing login page    forum.springsource.org

I m working on project and we r using acegi security. and i have designed a new welcome page and there is link from that page for new users to request ...

5. Creating a Login page from an Interceptor    forum.springsource.org

Creating a Login page from an Interceptor I'm setting up the login mechanism on a web application. I'm doing it with an interceptor: - The interceptor checks if a user is ...

6. Method called right after successful login?    forum.springsource.org

ah thank you I will try to do that. In the same vein, is it safe to store all the users session stuff from the db in the User Details class? ...

7. Adding some logic after success login    forum.springsource.org

Hello, I have just started using Acegi Security and I really enjoy it But I have one small question. I'm using FORM authentication and my own UserDetailService. When the login is ...

8. Problems with anonymous login    forum.springsource.org

Aug 6th, 2007, 12:35 PM #1 gcorro View Profile View Forum Posts Private Message Member Join Date Jan 2007 Posts 43 Problems with anonymous login Hi, I have my struts application ...

9. Limiting logins to 3 times    forum.springsource.org

Limiting logins to 3 times Good day everyone. I'm new to acegi and i've implemented it in spring. I just want to know how to limit a failed login on 3 ...





10. Login sends me to random JavaScript page?    forum.springsource.org

Hey all, an odd one. Every time I log in the first time into my app, I want to go to index.jsp. Sadly, it usually takes me to a random JavaScript ...

11. Getting parameters in login page    forum.springsource.org

Getting parameters in login page Hi Everyone, Here is what I am trying to achieve. I have a form that post's values to a secure url. Acegi intercepts the request if ...

12. Allowing only programmatic login for certain accounts?    forum.springsource.org

I'm using Acegi to secure a webapp and allow both form and basic auth. Now I would like to create a specific type of account that cannot authenticate through either of ...

13. Decorators doesn't apply to Login Page    forum.springsource.org

Hai all, I am using Acegi in my application with jdbc provider and everything mostly works fine.The only big problem i have with is decorator doesn't apply properly for my login ...

14. Anonymous Login not working    forum.springsource.org

Sep 17th, 2007, 04:52 PM #1 srinivas_nandula View Profile View Forum Posts Private Message Junior Member Join Date Aug 2007 Posts 20 Anonymous Login not working I am trying to do ...

15. Single Login across multiple domains???    forum.springsource.org

We have 3 domains that share the same war file (www.domainA.com/warfilename/, www.domainB.com/warfilename/, www.domainC.com/warfilename/) and would like to setup single signon - that is, if the user logs onto any one of ...

16. Exclude interceptors for Login & Logout URI.    forum.springsource.org

Exclude interceptors for Login & Logout URI. I have developed a sample application where it has login & logout mechanism with other operations included. i have created spring-servlet.xml file as follows ...





17. create a login page......using springframework    forum.springsource.org

can any body please give the code for the login controller...which verifies for the authentication using the database and redirects to a new page if the user is present in the ...

18. Decorate between login and logout    forum.springsource.org

Decorate between login and logout Hi All I am implementing a login function using sitemesh + acegi Left hand menu bar is the decorator that mainly show each pages, it include ...

19. Two different Login success based upon some conditions    forum.springsource.org

Two different Login success based upon some conditions Hi, I want to know, in acegi whether it is possible to specify two different login success based upon some condition. For Example, ...

20. Two application - one login    forum.springsource.org

Is it possible to share user authorization over two or more webapplication using Acegi? For example I have application: 1 and 2. When I'm log in in application one, I also ...

21. Login Form Redirects To Page    forum.springsource.org

Login Form Redirects To Page Hey Everyone, What is the best way to create a login mechanism that you can just include in any JSP? What I would like is to ...

22. i18n problem on login page    forum.springsource.org

Hi all, I'm currently using (successfully) a localeChangeInterceptor and CookieLocaleResolver to allow users to choose their locale. Code: ...

23. Second login does not work    forum.springsource.org

Feb 1st, 2008, 03:43 PM #1 Singleton View Profile View Forum Posts Private Message Junior Member Join Date Dec 2007 Posts 3 Second login does not work I have implemented Acegi ...

24. automatic login    forum.springsource.org

automatic login Hi all, I was wondering if I could be pointed in the right direction. Essentially, I need to allow the super user to login in to any account that ...

25. Redirecting to Login Page    forum.springsource.org

Feb 13th, 2008, 06:59 AM #1 djpaul View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 13 Redirecting to Login Page Hi everyone, How to redirect ...

26. Login Once    forum.springsource.org

Login Once Hi, I have successfully implemented Acegi authentication (using PetClinic as reference). I would like to enforce that my user(s) only can login only once into the application. Meaning, if ...

27. Login goes away    forum.springsource.org

Login goes away This is a mystery. I've just moved from struts to Spring MVC. I had this part of the app working. The login screen is generated in LoginController which ...

28. multiple fields in login    forum.springsource.org

multiple fields in login Hi, I am new to Spring and I am trying to customize the petclinic login form. However, the this form only receives two fields, login and password. ...

29. Form login and HTTPS    forum.springsource.org

I think i don't explicate correctly. Https connection is not estabilished when i access my login page url ( 'http://localhost:8080/app/login.jsp') directly, without pass for another page. Here is my configuration: Code: ...

30. auto login after registration    forum.springsource.org

Hi all, i am trying to redirect user after registration. I use a JdbcAuthentification. Code: GrantedAuthority[] authorities = {new GrantedAuthorityImpl(Role.ROLE_MEMBER.toString())}; UsernamePasswordAuthenticationToken auth = new UsernamePasswordAuthenticationToken(username, DigestUtils.shaHex(password), authorities); SecurityContextHolder.getContext().setAuthentication(auth); But It doesn't ...

31. Single servlet acecss login/auth    forum.springsource.org

Apr 27th, 2008, 01:31 PM #1 joshb View Profile View Forum Posts Private Message Junior Member Join Date Apr 2008 Posts 3 Single servlet acecss login/auth I have a set of ...

32. Infinitive Loop when Loading Login Page    forum.springsource.org

Infinitive Loop when Loading Login Page Hi all, I 'm new to acegi. When I change the authorization bean 'filterInvocationInterceptor' from hardcode to database driven one in my configuration file, the ...

33. check remember me only can login?    forum.springsource.org

check remember me only can login? hi, i had encounter this issue. once I go to login page, enter correct user and password, if cannot login and display the login page ...

34. Redirect after login    forum.springsource.org

Redirect after login Hello, I'm quite new to spring security and I'm trying some basic things. I have this login form, and if login is successful, I would like it to ...

35. How to force login    forum.springsource.org

I have configured spring security for my application. But I am facing one problem now. After the registration, User should be taken to home page. but our home page is secured. ...

36. Unable to move from login page    forum.springsource.org

May 30th, 2008, 07:23 AM #1 nusa View Profile View Forum Posts Private Message Member Join Date May 2006 Posts 31 Unable to move from login page I have a problem ...

37. CAS3.0[JASIG] requesting through http goes infinite loop after submission of login    forum.springsource.org

Hi, I have setup CAS3.0[JASIG] in jboss4.0.2,requesting through http goes into infinite loop after submitting credentials in login page,but https working fine. I want to request through http . find the ...

38. auto login after registeration    forum.springsource.org

auto login after registeration hello, i'm trying to make the user to be automatically logged in after registration, and i've searched through this forum to get an idea. i have all ...

39. Passing several parameters from login page    forum.springsource.org

Passing several parameters from login page Dear all, I am new to spring security but I involved to build a struts 2 + spring 2.5.4 + spring security 2.02 + hibernate ...

40. using login form of a different application    forum.springsource.org

Hi, i'am implementing a new application which has to access the authentifiction process of an existing (Struts based) application. So if i'am configure the form login page to the Struts login ...

41. How to replace form-login    forum.springsource.org

How to replace form-login Using Spring Security 2.0.3. I have written a custom AuthenticationProcessingFilter and AuthenticationProvider and want to plug this in to replace the form-login. Code:

42. login error page.    forum.springsource.org

Hi how do i display the message properties for fail username and password. my authenticationFailureUrl is loginError.errorPage (I don't want to show the "get" parameters) on login error page.

43. Need to allow auto-login    forum.springsource.org

Use a Pre-auth provider If you read the documentation, you will find information on the PreAuthenticatedAuthenticationProvider. A sample config is as follows:

44. Minor login issue    forum.springsource.org

Minor login issue I noticed something with SS2 login that seems like a minor bug, but I'm not sure so I'll just post it here and see what people think. My ...

45. Question about login    forum.springsource.org

Question about login Hi, i'm using Spring Security and the /spring_security_login Form. My Question is if i send a request to a specific URL for instance: http://localhost:8080/Testapp1.0/doit.action and im not logged ...

46. Basic login    forum.springsource.org

Basic login I have a design issue I guess I have run into. Lets say you have a login page and after successful login the user can do different things including ...

47. Problem with sustom login/logout/redirect pages    forum.springsource.org

Problem with sustom login/logout/redirect pages I'm using spring security with openid The problem is, I cannot make redirects right, if auth fails I end up on spring_security_login?login_error page, although there is ...

48. Login as functionality    forum.springsource.org

Login as functionality Hi all, In my system there are two user roles. One is advertiser and other is ad agency. Advertisers and Ad agencies have separate logins(two different user tables). ...

49. Blank Page after successful login ?    forum.springsource.org

Blank Page after successful login ? Hello all. I met a quite strange question while using Spring Security. Take spring-security-samples-tutorial-2.0.4 as an example Modify web.xml.Remove bank servlet and its mapping. Create ...

50. Re-login for certain pages even though opt for remember-me    forum.springsource.org

Hi, I am in process of developing remember-me functionality for our online portal. When user access certain resources or pages from our poratl he has to re-login even though he had ...

51. Problem with Login Page    forum.springsource.org

Problem with Login Page I'm new to Spring Security and am not able to get the login page. I'm getting the following: The requested resource (/securitytest/login.jsp) is not available. I have ...

52. form-login and http-basic together with clients that expect 401 Unauthorized first    forum.springsource.org

form-login and http-basic together with clients that expect 401 Unauthorized first I am trying to secure a webapp where some URLs will be accessed by an XInclude client that will only ...

53. Simple Login Mechanism    forum.springsource.org

Simple Login Mechanism Hello, i am trying to create simple form mechanism. it is not needed to be complicated but i am stacking at one point, and i am quite new ...

54. Dynamic redirect after login    forum.springsource.org

Dynamic redirect after login Greetings, The website I'm working on has a forum as a separate webapp and we want to integrate a single sign-on. We've achieved this via cookies with ...

55. Login form on multiple pages    forum.springsource.org

Login form on multiple pages Hi, I'd like to have a login form available on every page on the web site. I'm having troubles when configuring the SimpleFormController because formview & ...

56. Localizing login.jsp    forum.springsource.org

Localizing login.jsp I'm having some difficulty localizing my login.jsp file as part of a bilingual application. In particular, the JSTL fmt:message tags are always outputting question marks instead of the strings ...

57. Custom login.jsp questions    forum.springsource.org

Custom login.jsp questions First off, I am not very familiar with spring or spring security, this task has fallen into my lap and I am learning as I go. My task ...

58. Spring's simple login    forum.springsource.org

Hi, I'm now try to use Hibernate and Srping for my application I can add / edit/ delete on my application, but I can't imagine how can I let Spring or ...

59. Problem in Login after Unsuccessful Login    forum.springsource.org

Problem in Login after Unsuccessful Login I've integrated Acegi with JSF. When I login with correct username and password, I'm able to login successfully. If I enter wrong username and password, ...

60. Login Issue    forum.springsource.org

Login Issue Hi all, I am very very new to spring authentication but i have really interest in authentication programming but i have one issue regarding login...... In my security xml ...

61. Account Lockout after failed login    forum.springsource.org

Does ACEGI provides a feature to automatically lock the user account after entering the wrong credentials for 5 times etc...? If so, how to implement this?

62. Index: Table persisten_logins    forum.springsource.org

63. Intercept login and logout    forum.springsource.org

Hi, I just started on a project that's using Spring Security and I would like to intercept successful login and logout to do some actions at those point of times. Any ...

64. How to set welcome page as login page    forum.springsource.org

How to set welcome page as login page Hello, I want my application to show login page as welcome page whenever context is hit. Presently my configuration in application-security.xml as below: ...

65. Redirect always to HTTPS login form.    forum.springsource.org

Redirect always to HTTPS login form. In our configuration (pretty common for corporate websites), we have SSL termination done at the firewall/load balancer. Then, the request is proxied internally over HTTP ...

66. Some Custom PROCESSING after Succeed login    forum.springsource.org

Hi everybody.... My situation is: I configuerd Acegi security with Spring with Icefaces with LDAP. All things is OK and the user is logged-in successfully.. thanks GOD :-) But my question ...

67. How to prevent successful login from forwarding on to a resource    forum.springsource.org

How to prevent successful login from forwarding on to a resource Here is my situation... Spring Security works great for my traditional login process. I am building a site that uses ...

68. Two Login pages (Login wizard)    forum.springsource.org

Two Login pages (Login wizard) I am using Spring MVC and Spring security and need to make a login 'wizard' with two login pages. Page 1: username and password and a ...

69. Do something after process login    forum.springsource.org

Hi, after the user is logged in successfully with Spring Security I will do something, like put objects into the session. Whats the right way to do that in Spring Security? ...

70. Bypass login form    forum.springsource.org

Bypass login form Hello, first at all I am new to Spring and Spring Security. I have a question regarding the login form. Is there a way to bypass/skip the login ...

71. Login sometimes fails    forum.springsource.org

Feb 25th, 2009, 06:00 PM #1 pdelfert View Profile View Forum Posts Private Message Junior Member Join Date Feb 2009 Posts 6 Login sometimes fails Hi, I'm using spring security and ...

72. login page is redirected after login (submit)    forum.springsource.org

login page is redirected after login (submit) Hi all The problem is that i get redirected back to login page after login and there are no error displayed...please help applicationContext Code: ...

73. Selectively forward to form-based login    forum.springsource.org

Selectively forward to form-based login Hi, Is it possible to restrict the automatic forward to a login form to certain URLs? I am building a webapp that is to be used ...

74. fail to Login page    forum.springsource.org

fail to Login page my working env.-hibernate 3.2 , spring 2.5 ,jsf 1.1 ,create data access using Hibernate reverse engineering I have a problem with Login page. after submitting, there is ...

75. Styles and scripts on login page    forum.springsource.org

Styles and scripts on login page Hi, I have changed my security context to use a custom AuthenticationProcessingFilter. I have deleted element and set auto-config to false. Now I have ...

76. Easy to have 2 different login forms?    forum.springsource.org

Easy to have 2 different login forms? Where 1 login form is redirected to when a particular set of secure URLs are attempted to be opened by a non-logged in user ...

77. Customise Login Form    forum.springsource.org

Customise Login Form In my web application, I need include some extra content for some protected urls. To achieve that, I was wondering if I could add a param to protected ...

78. Auto populate login-form    forum.springsource.org

Auto populate login-form Hi, I just started using Spring. I want to auto populate the login/password field in my login-form if the user previously have checked the "Remember password" checkbox. I ...

79. Logins don't work when login page is https    forum.springsource.org

Logins don't work when login page is https My logins work perfect when my login page is http. But when I try to login securely, the same username and password doesn't ...

80. Multiple Logins    forum.springsource.org

Multiple Logins I have users which are also assigned to a location value. I had to modify the login so that it forces the users to select a location before proceeding. ...

81. Any way to determine which link was clicked on before redirecting to login page?    forum.springsource.org

Any way to determine which link was clicked on before redirecting to login page? On my profile page, I have several buttons that take you to pages that require a login: ...

82. Problem with login    forum.springsource.org

Problem with login Hi, I created a login form, a user and a role. When I try to access with the new user I receive a message tells me that the ...

83. Login page redirect question    forum.springsource.org

Can someone help me and tell me how can I tell what the destination URL is when someone is redirected to a login page? Thanks...

84. How to use custom login page    forum.springsource.org

In Spring Security configuration, you can specify custom login page using the tag as follows: Ref: http://static.springframework.org/sp...etting-started ...

85. custom provider/manual login    forum.springsource.org

i run form authentication using the normal http filter chain with intercept-urls and an authentication-provider. is it possible to have a different authentication provider handle its own intercept url? for example, ...

86. form login configuration    forum.springsource.org

form login configuration Hello, If I have all my login resources under the path /login, and I want all access to the site to be redirected to a login page /login/login.do, ...

87. Login Credential Issue    forum.springsource.org

Login Credential Issue She allows new users to access Secured Pages with already Logged-In User's credential. Need to prevent Login Credential to be available only to one browser session. My security ...

88. Always execute custom method after login    forum.springsource.org

Hey everyone, If I wanted to run a custom method after every login how would I go about configuring that with Spring Security? I'm using form authentication. This would have to ...

89. how can i avoid login with the same account from serveral machine ?    forum.springsource.org

I developped a web application using acegi. the problem is that i can login to this application with the same account from several machine how can i avoid login with the ...

90. Multiple Login pages    forum.springsource.org

any comments please??? please i badly need it?? I have setup my spring security config xml file above, but i dont know where and how to proceed. thank you, -marckun

91. Case insensitive login    forum.springsource.org

Hi Guy, How can I configure spring security in order to have a case insensitive login (for both username and password). i.e. user -> spring == SpRiNg pass -> acegi == ...

92. no forwarding after login since https    forum.springsource.org

no forwarding after login since https Hello I had a working login system with spring security. Now, I want the login page and the login process in an https way. Thats ...

93. Avoid Bruteforce through defining maximum logins    forum.springsource.org

Hello I have a login method where my application try a login with j_spring_security_check Code: public void login(ActionEvent e) throws java.io.IOException { System.out.println(MyDataUtils.getIPFromRequest()); password = MyDataUtils.encryptePassword(password); FacesContext.getCurrentInstance().getExternalContext().redirect( "/MyData/j_spring_security_check?j_username=" + userId + ...

94. Page after login    forum.springsource.org

Hi I have a strange random problem with spring security. Some time after login, the jquery api (the source code of the file) is display as the first page. The page ...

95. redirect from http page to https login page FAILS    forum.springsource.org

Hi, can you please elaborate on this one? I'm facing the same problem and i don't think I got the AuthenticationProcessingFilterEntryPoint thing. Some configuration code will be very helpful. Thank you ...

96. auto-config="false" and login page    forum.springsource.org

auto-config="false" and login page Hi! I've successfully managed to configure an AuthenticationProcessingFilter so I can redirect the user depending on it's role. Everything works fine except that I've had to turn ...

97. Do action after form login?    forum.springsource.org

After a user logs in to my web application (sing form based authentication, LDAP), I want to execute a piece of code that sets up their database username based on the ...

98. How to make a "Login" link that redirects back to current page?    forum.springsource.org

How to make a "Login" link that redirects back to current page? Hi all, I have been using spring security and it has been great, thanks for your hard work. I ...

99. why after login go back to previous page    forum.springsource.org

I am using JSF and frame for menu and content. When the session time out and i click on the menu, the security will kick me out to the login page. ...

100. How can i redirect to the originally requested page after login?    forum.springsource.org

Oct 26th, 2009, 07:28 AM #1 nlslzf View Profile View Forum Posts Private Message Junior Member Join Date Sep 2008 Posts 3 How can i redirect to the originally requested page ...