jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: Doubt with username and password
Date Tue, 04 Jan 2011 12:56:06 GMT
why do you use the SimpleLoginModule? all Simple* parts in the
security code are not meant to be used in a productive environment
but are simple examples to demonstrate some basic rules. most of them 
date back to v < 2.0 when jackrabbit didn't by default provide
real-life authentication and authorization mechanisms.

maybe a security configuration such as defined in
/jackrabbit-core/src/test/repository/repository.xml would be better
suited for you needs.


On 1/4/11 12:45 PM, Javier Arias wrote:
> Hi, I am new using JackRabbit. I have one problem, I need change the
> username and password to access to the repository. At the moment, I can
> access  whit every password and user but, for my need, it is not
> secure.
> I have read the documentation and I have done the followings changes in
> the file "repository.xml":
> Afther that I restarted the server but it did not work.
> <LoginModule
> class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
>             <!--
>                anonymous user name ('anonymous' is the default value)
>              -->
>             <param name="anonymousId" value="user"/>
>             <!--
>                administrator user id (default value if param is missing
> is 'admin')
>              -->
>             <param name="adminId" value="pass"/>
>          </LoginModule>
> Can anyone help me?
> Thanks a lot. Best regards.

View raw message