login 1 « Web « Spring Q&A





1. My customised login page not loading    forum.springsource.org

My customised login page not loading Hi, i had default login page now replacing it with my own. Here's my security config Code:

2. Strange redirect issues with form-login    forum.springsource.org

Strange redirect issues with form-login I'm having a strange issue when using form-login (http-basic works just fine), regarding where someone lands when they first get to the server. Here is my ...

3. Requiring a Terms&Conditions re-agreement during login    forum.springsource.org

Requiring a Terms&Conditions re-agreement during login I'm working on a site where the user must agree to certain Terms and Conditions(T&C). It is possible that these T&C can be updated with ...

4. Using I18n in the login page    forum.springsource.org

In CVS HEAD DaoAuthenticationProvider version 1.24 was updated last week: Code: private UserDetails getUserFromBackend(String username) { try { return this.authenticationDao.loadUserByUsername(username); } catch (UsernameNotFoundException notFound) { if (hideUserNotFoundExceptions) { throw new BadCredentialsException("Bad ...

5. Login actions    forum.springsource.org

Firstly, if this has been asked already (I'd be surprised if it hasn't!) apologies.... I have spring security set up and working in an application that validates a user against an ...

6. extra login fields    forum.springsource.org

Feb 11th, 2011, 05:38 AM #1 guythomas View Profile View Forum Posts Private Message Junior Member Join Date Sep 2010 Posts 8 extra login fields After reading several posts on the ...

7. Login failure redirect issue    forum.springsource.org

Feb 11th, 2011, 11:55 AM #1 Professor Hassle View Profile View Forum Posts Private Message Junior Member Join Date Feb 2011 Posts 8 Login failure redirect issue Hi all, I'm having ...

8. prevent reaching inner folders without login    forum.springsource.org

prevent reaching inner folders without login How can I prevent users from accessing files by writing file names in the address bar of the browser. I exactly want to allow users ...

9. Conclusion: how does login work    forum.springsource.org

Mar 14th, 2011, 12:43 PM #1 jeeper View Profile View Forum Posts Private Message Senior Member Join Date May 2010 Posts 317 Conclusion: how does login work Hello together, I write ...





10. Anonymous login    forum.springsource.org

I have a registration form and I wish the user to "auto-login" after I persist the new user details in the database. In my applicationContext-security.xml, I have this among other declarations ...

11. Force a action to run before continuing the redirect (after login)    forum.springsource.org

Force a action to run before continuing the redirect (after login) Hi I have a struts 2 based webmodule that uses spring security. Until now we have used the always-use-default-target="false" property ...

12. Login Forwarding to icefaces-compat.js?    forum.springsource.org

Login Forwarding to icefaces-compat.js? I'm creating a dummy test app integrating JSF with Spring security as detailed here and while the login/protected pages process works fine, I am having issues with ...

13. Spring Login pages works but my login page dont?    forum.springsource.org

Spring Login pages works but my login page dont? Spring Login pages works but my login page dont? I am building a system in Spring3 with MySQL. if I use the ...

14. Login required to add plugins?    forum.springsource.org

Login required to add plugins? I am using SpringSource Tool Suite Version: 2.5.2.RELEASE Build Id: 201101081000 When I attempt to add a plugin (from help->install new software), I select a site ...

15. Custom Login Page    forum.springsource.org

Custom Login Page Guten Tag, ich habe mit Spring Security begonnen ein Web Projekt zu sichern. Habe da von null angefangen. Bis zur automatischen Login-Page bin ich noch gekommen, aber jetzt ...





17. processing after login    forum.springsource.org

processing after login Hi, I have the following problem. After a successfull login ( against LDAP ), I want to search for the User in the DB based on the ID ...

18. How to add custom RememberMeServices to form-login if remember-me element is not used    forum.springsource.org

How to add custom RememberMeServices to form-login if remember-me element is not used I have a very stupid problem. I need to execute some logic on successful remember-me login. The default ...

19. two seprate login possible?    forum.springsource.org

I mean, i have two type of user in my spring web site, 1. Providers 2. Client I did login using spring security, it is fine. login url like this http://localhost:8080/tree/login.jsp, ...

20. Login goes fine until....AuthenticationCredentialsNotFoundEx    forum.springsource.org

Oct 21st, 2004, 11:25 AM #1 fossil View Profile View Forum Posts Private Message Junior Member Join Date Oct 2004 Location Holland Posts 15 Login goes fine until....AuthenticationCredentialsNotFoundEx I can't login. ...

21. Single Login for two different applications?    forum.springsource.org

Hi, When I login to Spring roo application and jump to another one i . e. Grails application. The Login to the Grails application must be done automatically. Can any one ...

22. Invocation of flow before login    forum.springsource.org

Jun 17th, 2011, 12:49 PM #1 jnl001 View Profile View Forum Posts Private Message Senior Member Join Date Mar 2007 Posts 112 Invocation of flow before login hi all... Spring Core ...

23. login returning 200 instead of 302    forum.springsource.org

I'm building a REST based API and I am trying to get the login REST call to return 200 instead of 302. Is there any example of such a Spring Security ...

24. Error setting form-login    forum.springsource.org

Error setting form-login Hi, I've just got the book I order (Packt's Spring Security 3) and can't wai to test what I'm learning. I did the basic example the book ilustrate ...

25. Add FacesMessage on login error    forum.springsource.org

Add FacesMessage on login error Dear guys, I am new to spring security and got it finally working with my JSF 2.0 application. But one thing is left, that makes me ...

26. Multiple Login Forms    forum.springsource.org

Multiple Login Forms I am maintaining a web application which is the accumulation of a number of legacy applications, and uses Spring Security 3.0.2. I need to combine another application which ...

27. Continue processing after successful login request    forum.springsource.org

Hello I'm using url "/login" to process login request. Is it possible to continue processing of request after succesful login (UsernamePasswordAuthenticationFilter forces me to make redirection) and trigger it by controller ...

28. Login From Other Site form    forum.springsource.org

Login From Other Site form Hi, Im new on Spring. I made a webapp with java/tomcat/spring to a client. Now, the client wants to put a form on his webpage, to ...

29. Custom EntryPoint only being invoked 1st time I reference my login page    forum.springsource.org

Sep 27th, 2011, 05:39 PM #1 MartyJones View Profile View Forum Posts Private Message Senior Member Join Date Oct 2005 Location Mobile, AL Posts 339 Custom EntryPoint only being invoked 1st ...

30. Multiple loading of DVOs at login process    forum.springsource.org

Hi all, In our environment we are using spring-hiberate with Gatein portlet and oracle as backend. On application login performance turning, we have observed that all hibernate DVO are loaded multiple ...

31. Requiring HTTPS for login    forum.springsource.org

Requiring HTTPS for login Hi, I'm using spring security in an open source project (http://pebble.sf.net). In pebble, you would rarely want to have an instance served entirely under HTTPS, because it's ...

32. switching from http to https back to http for login    forum.springsource.org

switching from http to https back to http for login Hi, I appreciate any help, thank you. I am looking for a solution for https login redirect to http main view. ...

33. Sha-256 not correct? what format is required for login?    forum.springsource.org

Sha-256 not correct? what format is required for login? hey guys i've had this issue for a while but i'm coming closer to solving the issue. what i m trying to ...

34. How to handle login?    forum.springsource.org

How should i handle login. My site is generally http but for two places login and user settings. But i am unable to get https and http switching working. You mentioned ...

35. custom login page    forum.springsource.org

custom login page hi all! I need help with such a trivial thing... I was thinking that to employ custom login page, filling with login-page attribute would be enought. Well ...

36. Additional Parameters Needed To Perform Login    forum.springsource.org

Hi i have a custom login page with an extra parameter organizationId. I need that parameter in my userDetailsImlp class so i can retrieve user from database with username and organizationId ...

37. 3.1.0.RELEASE - Multiple form-login. Is it possible?    forum.springsource.org

3.1.0.RELEASE - Multiple form-login. Is it possible? Hello everyone, I am trying to create two different http blocks (new feature of this version). For each http block I use a different ...

38. login by code    forum.springsource.org

login by code Hi, I am attempting to perform login and logout programmatically, the following twp routines seems to be working: Code: public class SecurityService { private final AuthenticationManager mAuthManager; public ...

39. login form customizing    forum.springsource.org

I want to customize my login form. Here is snippet from my acegilogin.jsp: How to fill in the form with typed before username when user ...

40. HessianProtocolException with incorrect login    forum.springsource.org

HessianProtocolException with incorrect login Hello, I am new to Acegi and am trying to get it working for my application, which is a SWT thick client talking to Business Methods in ...

41. Multi-stage login    forum.springsource.org

Multi-stage login Hi, I'm wondering if acegi does/could support multiple-stage logins. That is, I'd like to put it in a webapp container and present the user with: #1 - Request username ...

42. How to protect several groups with different login pages    forum.springsource.org

My web application has several groups of pages. One group is unlimited, the second group is for junior user, and the third is for senior user. Each user type has different ...

43. Different Logins, different login forms    forum.springsource.org

Are all users coming from the same AuthenticationProvider (ie backend database)? This thread might give some ideas on how multiple authentication tokens can be used: http://forum.springframework.org/viewtopic.php?t=284. This thread might give some ...

44. Unable to login to Sun Server admin console    forum.springsource.org

I'm running an application (which uses Acegi security) on the Sun Java System Application Server 8.1. In applicationContext.xml I set up the loginConfig: Code: /WEB-INF/kerberos.conf kerberosRealm ...

45. how to config two login entry point?    forum.springsource.org

how to config two login entry point? I want to have two login forms in a same site. the two login forms have diferent actions. one is in / the other ...

46. why page not found when rel-login after logout?    forum.springsource.org

why page not found when rel-login after logout? i am using Acegi 0.8.2. i think it is cool, but it took me a lot of time to figure out things. it ...

47. a confusing login situation, a possible bug?    forum.springsource.org

a confusing login situation, a possible bug? a user DIRECTLY goes to the login page and types correct username and password. the page a user should go after a successful login ...

48. Login As    forum.springsource.org

Hi, I have an application which require customer to login, acegi works fine with that. Now, I need an Admin which can login as any customer. Once an admin is login ...

49. propogate request params through login page?    forum.springsource.org

propogate request params through login page? My application needs to allow anonymous users to fill out a form, but require them to log in when they submit the form. (The form ...

50. Incorrect login counter.    forum.springsource.org

Acegi publishs a number of events. You can tap into them as you would any Spring event. Simply create a class that implements ApplicationListener, as follows; Code: package app.events; import net.sf.acegisecurity.providers.dao.event.AuthenticationSuccessEvent; ...

51. Redirecting someone to the referral page after they login.    forum.springsource.org

Redirecting someone to the referral page after they login. Hi., I have just started working on MVC, and I am still a beginner here. I have a problem here, i.e., the ...

52. Login screen not appearing    forum.springsource.org

Sep 14th, 2005, 01:50 PM #1 rlynn View Profile View Forum Posts Private Message Member Join Date Jul 2005 Posts 48 Login screen not appearing I just started with Acegi security. ...

53. after login redirects incorrectly    forum.springsource.org

Forum Spring Projects Security after login redirects incorrectly If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register ...

54. Setting my login form as public.....    forum.springsource.org

Setting my login form as public..... HI all, I have a JSF application, and I am using acegi for authentication/authorization using a SecurityEnforcementFilter/FilterSecurityInterceptor. I use a custom authorization manager, my scheme ...

55. Spring Login Page    forum.springsource.org

Hi, I want to implement a login page functionality using the Spring framework(MVC). UI is login.jsp user inputs username and password. spring framework authenticates the user and forwards to next jsp ...

56. Programatically login PasswordAuthenticationDao, non-http    forum.springsource.org

Programatically login PasswordAuthenticationDao, non-http Hi all, I've searched though the list for a Programatic login, like so: http://forum.springframework.org/sho...rogramatically Our app uses PasswordAuthenticationDao and a custom AuthenticatedUser. We want to use our ...

57. Problem facing in forwarding from login page to home page    forum.springsource.org

Dec 13th, 2005, 07:49 AM #1 sasikanthn View Profile View Forum Posts Private Message Member Join Date Dec 2005 Posts 49 Problem facing in forwarding from login page to home page ...

58. Single Login    forum.springsource.org

Single Login Hi, I am new to acegi security, I have used it in simple prototype. I am planning to use it with my new springframework application, however I need to ...

59. Login interceptor    forum.springsource.org

Login interceptor I'm having a bit of a bad brain day and was hoping someone kind might help me out. It's probably a shocking simple question. I'm using Spring MVC for ...

60. Getting double login request with HTTPS switch    forum.springsource.org

Dec 28th, 2005, 01:28 PM #1 kcbaltz View Profile View Forum Posts Private Message Junior Member Join Date Dec 2005 Posts 6 Getting double login request with HTTPS switch I've got ...

61. SEC-33 & Multiple Login Pages    forum.springsource.org

SEC-33 & Multiple Login Pages The release notes for version 0.9.0 seem to indicate that SEC33 was implemented, but the resolution on the issue is "Won't Fix." Can someone please clarify ...

62. how to redirect to login.jsp question    forum.springsource.org

how to redirect to login.jsp question Hi, I am using struts with acegi. My filter chain and authentication is like this ...

63. login redirect problem    forum.springsource.org

I'm running on Tomcat 5.5 server. The problem is on first login the user is redirect back to the login page. I have extended the AuthenticationProcessingFilter to store the redirect target ...

64. Strategy for handling subclasses in login page?    forum.springsource.org

I am not sure how to approach this problem so I am hoping you may be able to help. I have an abstract User class which has three subclasses: ApplicationAdmin, TeamAdmin ...

65. Login Command    forum.springsource.org

You'll need to provide a little more detail on the problem you're seeing. I use this exact model in my application and it works fine. I do this in my LifecycleAdvisor: ...

66. Repeatedly required to login to a directory    forum.springsource.org

Mar 8th, 2006, 02:50 PM #1 npadgett View Profile View Forum Posts Private Message Junior Member Join Date Apr 2005 Posts 27 Repeatedly required to login to a directory I am ...

67. How to auto login from code    forum.springsource.org

How to auto login from code If a user logs in via the ACEGI URL pattern j_acegi_security_check it write the cookie and all times there after the users can be "auto ...

68. Adding an additional field to login    forum.springsource.org

Adding an additional field to login I have a requirement to add a third field to my login that could serve to add the user to the list of valid users ...

69. Double login request with or without https    forum.springsource.org

Double login request with or without https I get a double login request everytime my session expires. I guess it's not a https problem because the same thing happens when using ...

70. Programmatic Login + Redirect    forum.springsource.org

Programmatic Login + Redirect Hi, I've been using Acegi for a while with no problem. When a new user registers, I log them in programmatically (before sending them to the "user ...

71. Double login    forum.springsource.org

We've been noticing some odd behavior on logins. If the user fat-fingers their password the first time and then enters the password correctly the second time they are forced to enter ...

72. Updating Last Login    forum.springsource.org

Updating Last Login I have a hibernate-spring-acegi application that is using annotations for transactions and security. My configuration was copied from the acegi sample app using the DefaultAdvisorAutoProxyCreator and the TransactionAttributeSourceAdvisor ...

73. Login needs to occur twice    forum.springsource.org

Login needs to occur twice The application I'm working on uses a secure (https) page for inputting the user name and password. If the user goes to the login page using ...

74. Supressing the login dialog    forum.springsource.org

Supressing the login dialog We are using Acegi to secure a Spring web-method. The calling app uses the Eclipse RPC, and does most of the work of setting up the SecurityContext ...

75. programatic login similar to Subject.doAs() ?    forum.springsource.org

programatic login similar to Subject.doAs() ? Hello Acegi developers, I am looking for some code examples showing me, how I can run a thread on behalf of a specific user. The ...

76. Designing login    forum.springsource.org

Designing login Hello So I've been implenting a rich client for the last half year os so and I am now coming to the security parts. I have set up so ...

77. How To Have A Single Login For 2 Spring Applications    forum.springsource.org

Hi , I am having Two spring applications, my requirement is to have a single login for both the applications. How is it posiible? can u please site an example? I ...

78. recognising a successful login    forum.springsource.org

recognising a successful login I've recently worked out how to implement form based logins using acegi (hooray) and now need to go one step further. Basically I want to plug in ...

79. routing error login - exceptionMapping    forum.springsource.org

routing error login - exceptionMapping Hi, Im trying to route my users to different jsp pages depending on the exception thrown by acegi. My authenticationProcessingFilter looks like this.