[undertow-dev] AuthenticationMechanism lifecycle

Darran Lofthouse darran.lofthouse at jboss.com
Mon Dec 16 10:38:35 EST 2013


How is this authentication mechanism being added?

On 16/12/13 15:33, Anil Saldhana wrote:
> 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
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
>


More information about the undertow-dev mailing list