Splash › Forums › Rewrite Users › JaasRoles
This topic contains 1 reply, has 2 voices, and was last updated by Christian Kaltepoth 2 years, 11 months ago.
I’m working on adding specify roles for users. i checked the jassroles example but its seems not clear enough.
the question is : what does rewrite.getRequest().isUserInRole(“admin”) do ??
i didn’t even give the roles for users.
The JaasRoles classes uses the standard Servlet API to check if the user is in a given rule.
So I think you have to configure JAAS correctly if you want to use it. 🙂
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!