Ken nashua a écrit :
Here is a sample working login...

Best I can provide at this point.

public abstract class LoginPage extends BasePage {

    private static final Log LOG = LogFactory.getLog(LoginPage.class);

    public abstract String getUsername();

    public abstract String getPassword();

    public void login(IRequestCycle cycle) throws RedirectException {

        LOG.debug("User " + getUsername() + " is attempting login.");

String acegiUrl = cycle.getAbsoluteURL("/j_acegi_security_check?j_username=" + getUsername() + "&j_password=" + getPassword());

        throw new RedirectException(acegiUrl);
    }
}

Thanks but it is not what I need. And in my post there was exactly the same code (for login method).

What I would like to find is how to distinguish between an arrival on the Login page for login against an arrival because login failed while I'm using the same page for Acegi parameters AuthenticationProcessingFilterEntryPoint.loginFormUrl (Login) and AuthenticationProcessingFilter.authenticationFailureUrl (LoginFailed)

cheers
cyrille


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to