Hello, thank you for the response. I implemented this and it appears to work. I would prefer not to use a plain text password for the following line:
final SecurityIdentity securityIdentity = securityDomain.authenticate(username, new PasswordGuessEvidence(password.toCharArray()));
It seems I would have to hard code the clear text password in the code or obtain the clear text password from a properties file. What is the best way to avoid using clear text passwords?
If I should start a new discussion based on the question above, please let me know.
Yes, I think make a new discussion based on your new question. And mark this as answered.