You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Nicolas <nt...@gmail.com> on 2006/07/28 21:38:58 UTC

Where are stored Credentials?

Hi,

I am wondering where are stored the credentials. For now, I didn't backup
login and password. Should I? If so how?

Thanks
Nicolas
my blog! http://www.deviant-abstraction.net !!

Re: Where are stored Credentials?

Posted by Nicolas <nt...@gmail.com>.
Thanks. It is all clear. The backup framework  is easy to extend: you just
need to subclass Backup, implement the missing method and add the class in
the XML file.


Nicolas

Re: Where are stored Credentials?

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 7/28/06, Nicolas <nt...@gmail.com> wrote:
> I am wondering where are stored the credentials. For now, I didn't backup
> login and password. Should I? If so how?

Jackrabbit uses Java Authentication and Authorization Services (JAAS)
and the AccessManager interface for authentication and access control.
The default implementation included in Jackrabbit simply gives access
to any username/password combination.

In a normal deployment the user accounts would be stored in an
external LDAP directory or another "realm" implementation of a J2EE
container, so they'd be external to the repository itself. The
configured AccessManager could either use ACLs or similar
authorization information within the repository itself, or in some
external store. If such information needs to be backed up/restored,
then that would be best handled with a custom extension to your backup
framework.

So, to answer your question: No, you don't need to worry about that as
long as you backup the repository configuration and provide an
extension mechanism for a custom AccessManager to backup itself.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development