with the resolution of CLEREZZA-504 by default every user has the permission
needed to access services. The change only affects new instances as an
existing system graph is not modified. For existing instances you might want
to set the permission manually such as by accessing

http://localhost:8080/admin/users/manage-role-permissions?roleTitle=BasePermissionsRole

an adding the Permission Entry:

(java.util.PropertyPermission "*" "read")

Without this permission code running as anonymous might produce
NullPointerException. Unfortunately BundleContext.getService does not throw
AccessControlExceptions which would cause a log-in screen to be shown to the
user but just returns null.

Cheers,
Reto

Reply via email to