| Summary: | Nonce expiry time for digest authentication cannot be set | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Martin Thomson <martin.thomson> |
| Component: | server | Assignee: | Greg Wilkins <gregw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jetty-inbox |
| Version: | 7.2.0 | ||
| Target Milestone: | 7.1.x | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Martin Thomson
I've added maxNonceAge as an init parameter on the SecurityHandler. Is that accessible enough or do you want a context attribute? I was really only looking for a setMaxNonceAge method on DigestAuthenticator, but changing the SecurityHandler (and DefaultAuthenticatorFactory, I assume) makes sense too. I don't have a need for anything more than that right now. Thanks for being so quick to respond. I just looked at the changes in 7.2.0. I'm disappointed that you didn't provide a setMaxNonceAge method. As it stands, it's not possible to change the value once the SecurityHandler is running. We would like to be able to configure this without stopping anything - and that should be possible. We're using DigestAuthenticator directly for various reasons. For now, we have two options: extend DigestAuthenticator to provide the method; or implement AuthConfiguration and call setConfiguration. We'll do the former for now. Jetty is intended to allow classes to be easily extended so that uncommon behaviour does not need to be carried by all. So if extension is feasible for you, then it is probably best. If you really want it in the core, then please submit a patch and we'll consider it. cheers no comments for a while, so I assume this is sufficient. |