Mantis - Resin
Viewing Issue Advanced Details
3412 minor always 03-24-09 09:56 08-25-09 19:37
ferg  
alex  
normal  
closed  
fixed  
none    
none 4.0.1  
0003412: programmatic login
(rep by Jeff Schnitzer)

I have only spent a little while browsing through the Resin code, so
apologies in advance if I'm misunderstanding something. I'd love to
see something like:

AbstractLogin.authenticate(HttpServletRequest request, Principal user,
String credential) throws LoginException

I just need any method that takes a user and password, checks it
against the normal authentication SPI, and (if successful) registers
the credentials to the container.

I don't think I would need to customize the Login class. I wouldn't
be using any of the j2ee standard auth mechanisms, just programmatic
authentication, so I'm guessing I could have a BasicLogin and just
never use it. As long as I can call the auth method from my normal
webapp I'll be fine.

Notes
(0004162)
ferg   
08-25-09 19:37   
server/1ak0 - Servlet 3.0 programmatic login