I'm using the AuthenticationProcessingFilter to do request level authentification and it works fine. I have a use case however that basically says that after a user has "signed up" for the first time, they should be automagically authenticated.
So what would be the best way to accomplish this? Would I need to do the authentication programmatically and put an Authentication in the session? I noticed in the comments in AuthenticationProcessingFilter it says to not use directly rather to use it as a filter.
Or maybe another approach would be to forward on to the filter after signing up? I'm using Struts Tiles as well so I'm not sure the best way for forwarding on to the filter.
Any ideas? Thanks,