If I am reading the code correctly, it looks like both the jackrabbit 2.x
and oak implementation of UserManager API allows you to pass null as the
password and it doesn't attempt to store a password in that case.

Your other option would be just to generate some random password value that
the user wouldn't be able to easily guess and use to login.


Regards,
Eric

On Sun, Jul 8, 2018 at 9:03 AM, Hasini Witharana <[email protected]>
wrote:

> Hi all,
>
> Currently I am working on OpenID Connect flow. Now the implemented handler
> is capable of authenticating and authorizing valid users by an OpenID
> Connect Provider(OP). OP will provide details of user such as username,
> email, first name family name and etc. But the password will not be
> provided.
>
> Now I need to store the successfully authenticated users using Jackrabbit
> API. To create a user using this API we need username and password. Is
> there any way to create a user without providing a password?
>
> Thank You.
> --
> *Hasini Witharana*
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Linkedin <https://www.linkedin.com/in/hasini-witharana-185785109/>
>

Reply via email to