I want to authenticate the user via cookies such that there is no login dialog presented if certain cookies are present.
However, when I write a JBoss login module and install it, I find that the class isn't even instantiated until AFTER the user has been presented with a login dialog.
How can I do what I want, to make the decision whether the user will be presented with the login dialog?