[undertow-dev] AuthenticationMechanism lifecycle

Anil Saldhana Anil.Saldhana at redhat.com
Mon Dec 16 10:33:21 EST 2013


Hi,
    can the authentication mechanism have a lifecycle based on the 
context lifecycle?

I need access to the ServletContext to look for deployment descriptors 
using the servletContext.getResourceAsStream() call.

I am thinking something along the lines of:

authenticationMechanism.start(ServletContext);
authenticationMechanis.stop();

This will give an opportunity for the authentication mechanism to 
initialize and finalize any resources.

Regards,
Anil


More information about the undertow-dev mailing list