jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Don't want anonymous access
Date Fri, 26 Sep 2008 20:41:32 GMT
Hi,

On Fri, Sep 26, 2008 at 10:31 PM, Mike Oliver <moliver@corenttech.com> wrote:
> What about just commenting out the lines that add the AnonymousPrincipal() to
> the principals array so only users with creds pass?  Wouldn't that work?
>
> So copy the SimpleLoginModule into a new class RestrictedLoginModule,
> comment out the lines and configure RestrictedLoginModule instead of
> SimpleLoginModule?

Yes, that would work.

BR,

Jukka Zitting

Mime
View raw message