I am integrating acegi with an external system, which accepts a login and password, and then redirects the user to j_acegi_securitycheck on our system with a j_username and j_password. There is some stuff that happens in the background between our databases to ensure that the password is only used for the session. I am using the form-based login with the authenticationProcessingFilter and my own subclass of AuthenticationDao.
This all works fine, but the client wants the logout button and login error pages to go to their (the external) login page. Instead, it goes to our internal login form (our app has one because this is the usual usage for other clients).
I can't specify a different form in loginFormUrl, because it must be container-relative.
The error page can be a simple redirect from my logout controller, so I am not as worried about that, but it would be nice to handle it from acegi.
Is there any way to tell acegi to redirect to the external login page whenever it needs to do so? Why must it be a relative path?