hi 

as far as i remember it's enabled by default in jackrabbit 2.x (in contrast to 
jackrabbit oak where token authentication is handled by a separate loginmodule 
implementation). in other words: if i am not mistaken it should work out of the 
box with org.apache.jackrabbit.core.security.authentication.DefaultLoginModule. 
upon the first default login you have to make sure a token is created (empty 
token attribute) such that subsequent logins can use TokenCredentials with the 
token created.

you may also consult 
org.apache.jackrabbit.core.security.authentication.token.TokenBasedAuthentication
 for further details.

in general i would recommend using Apache Jackrabbit Oak, which is the 
successor of the Apache Jackrabbit

hope that helps
angela
________________________________________
From: jimy page <[email protected]>
Sent: Thursday, June 13, 2019 10:26 AM
To: [email protected]
Subject: Enable token based login / authentication in jackrabbit 2.19/18

Dear Jackrabbit team

I need to implement token based authentication on my jackrabbit server.
Could you please guide me how do I do it ? I have not been able to find
enough documentation / example to enable token based authentication.

Some guidance/ sample code will be great help.


Thanks
Jimmy

Reply via email to