Local Storage

cancel
Showing results for 
Search instead for 
Did you mean: 
kwiesinger
Member II

Local Storage

Hello,

I'm using the ADF-Framework with Angular and I'm trying to get the username and password of the current user.
I found out that I can get the name of the user with "localStorage.USER_PROFILE".

Is there another constant where I can get the password of the user? I couldn't find a way to see all the available constant.

Thanks for you help in advance!

2 Replies
d_moeyersons
Customer

Re: Local Storage

Hi,

If you would be able to retrieve a password of a user in any way, it would be considered a security vulnerability. The passwords are one way encrypted and cannot be decrypted.

If the current user wouldn't know it's password there is the possibility to reset the password.

You can get all other available user information of the current user with the getCurrentPerson() method in the People Content service

Best regard,

David.

dvuika
Alfresco Employee

Re: Local Storage

We do not store the password anywhere. You won't find it in the local storage.