geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: Custom Login Modules
Date Sat, 30 Sep 2006 03:17:22 GMT
Did you add a reference to this login-module in geronimo-web.xml?

Vamsi

On 9/30/06, sreepriya ramakrishnan <sreepriya_ramakrishnan@yahoo.com> wrote:
>
> Hi all,
>
> I have written a Custom Login module and tried to
> create my own realm in Geronimo V 1.0 with Tomcat.
>
> Then I deployed my war file which has a Servlet
> Filter. I have coded so that I can invoke the Login
> Module from the Servlet Filter.
>
> eg. logincontext lc = new
> logincontext("myrealmname',subject,mycallbackhandler);
>
> lc.login();
>
> Now at the point when the login module is invoked I
> get this exception.
>
> Login failed:
> javax.security.auth.login.LoginException:
> org.apache.geronimo.comm
> on.GeronimoSecurityException: Unable to instantiate
> login module
>
>
> Can some one please point out where I am going wrong?
>
> Thanks,
> Priya
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message