Good to know.
We should probably update that embedded example.

Care to file a bug about it?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&format=guided

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Thu, Mar 14, 2013 at 8:25 AM, Will Hoover <[email protected]> wrote:

> Ironically, In Jetty 8 I didn't have to call
> ServletContextHandler#setSecurityHandler(SecurityHandler) I just did:****
>
> ** **
>
> servletContextHandler.setHandler(constraintSecurityHandler);****
>
> server.setHandler(servletContextHandler);****
>
> ** **
>
> ... but in Jetty 9 it is required in order to prevent the error. So, it
> looks like Jetty 9 fixes the bug rather than produces one :)****
>
> ** **
>
> servletContextHandler.setSecurityHandler(constraintSecurityHandler);****
>
> server.setHandler(servletContextHandler);****
>
> ** **
>
> *From:* Will Hoover [mailto:[email protected]]
> *Sent:* Thursday, March 14, 2013 10:41 AM
> *To:* '[email protected]'
> *Subject:* Jetty 9.0.0.v20130308 FormAuthenticator Bug****
>
> ** **
>
> I switched from Jetty 8 to Jetty 9.0.0.v20130308  and I'm now getting
> "java.lang.IllegalStateException: No SessionManager" using a
> FormAuthenticator. I'm basically using a similar setup as
> http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/examples/embedded/src/main/java/org/eclipse/jetty/embedded/SecuredHelloHandler.javabut
>  with a FormAuthenticator instead of BasicAuthenticator.
> ****
>
> ** **
>
> ** **
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to