Hi,

On Thu, Jan 22, 2009 at 4:25 PM, imadhusudhanan
<[email protected]> wrote:
> Can't I by pass the Authentication technique used by jackrabbit i.e. JAAS
> and provide my own authentication technique ie Basic Auth which i already
> implemented in my webapp.

Jackrabbit always uses JAAS to manage authentication, but nothing
stops you from implementing your own Credentials class and looking for
those credentials in a custom LoginModule.

Alternatively, if you've already authenticated the user by the time
you call Repository.login(), you could simply fill in a normal
SimpleCredentials instance for the user and use Jackrabbit's
SimpleLoginModule that simply accepts any username and password as
valid.

BR,

Jukka Zitting

Reply via email to