Reputation: 119
I have a glassfish server set up to host an api for an android application. When I use the application, everything works great, but when my client uses the application, he claims that it crashes when he tries to log in. I don't have access to his phone, so I can't tell exactly whats going on. All I have to go on is this error I got from the logs:
JACC Policy Provider: Failed Permission Check, context(odmorite/odmorite)- permission(("javax.security.jacc.WebUserDataPermission" "/api/signin" "POST"))
I gave him the latest debug apk, so assuming that he installed it correctly, we should have the same version. That error also pops up for other paths the app tries to access at his end. Has anyone had any experience with this error, and is there any way to solve it?
Upvotes: 0
Views: 2051
Reputation: 119
I ended up switching JACC from default to simple. That solved the problem. If I run into the same problem in the future on another project, I will try to clean the generated directory as Tobi suggested, and I will update this question with the results.
Upvotes: 0
Reputation: 452
You might try following:
Upvotes: 2