users@glassfish.java.net

Re: can we authenticate a user againts a realm from within our application programically?

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Tue, 05 Jun 2007 01:09:21 -0700

legolas wood wrote:
> Hi
> Thank you for reading my post
> Can we authenticate a user (username and password) against a realm
> (JDBC) from within our application?
>
> For example from inside a servlet we check whether username and
> password is correct or not ?
You can try com.sun.appserv.security.ProgrammaticLogin
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>