|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3412 | minor | always | 03-24-09 09:56 | 08-25-09 19:37 | |
|
|
|||||
| Reporter: | ferg | Platform: | |||
| Assigned To: | alex | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.1 | ||
|
|
|||||
| Summary: | 0003412: programmatic login | ||||
| Description: |
(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. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||