1

I have the authorizable ID and a password text. In a normal scenario, I can directly get the session using slingRepository.login option. If I am able to do so, that means the credentials are valid. But let's say if the user has been disabled for some reason then how can I validate the password because in that case AEM doesn't validate it and throws the AccountLockedException directly. I don't need the session, but I want to validate that the password I have is correct (programmatically).

Jonas
  • 121,568
  • 97
  • 310
  • 388
ankur_rajput
  • 145
  • 2
  • 11

0 Answers0