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 Mon, 02 Oct 2006 13:28:11 GMT
geronimo-web.xml should have a tag like the following.

 <security-realm-name>myrealmname</security-realm-name>

-Vamsi

On 10/2/06, sreepriya ramakrishnan <sreepriya_ramakrishnan@yahoo.com> wrote:
>
> Can you show me an example How do I do this?
>
> --- Vamsavardhana Reddy <c1vamsi1c@gmail.com> wrote:
>
> > 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
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message