Check that the current context is trusted to modify the logging configuration. This requires LoggingPermission("control").
If the check fails we throw a SecurityException, otherwise we return normally.
@exception SecurityException if a security manager exists and ifthe caller does not have LoggingPermission("control").
If authorization is enabled, checks whether the user (in the callerUGI) is authorized to perform the access specified by 'applicationAccessType' on the application by checking if the user is applicationOwner or part of application ACL for the specific access-type.
The owner of the application can have all access-types on the application
For all other users/groups application-acls are checked
Check access for certain business-control (resourceUrl) and user with roles.
@param contextEntry
@param businessControl
@param identity
@param roles
@return
Check access for certain business-control (resourceUrl) and user with roles.
@param contextEntry
@param businessControl
@param identity
@param roles
@return
Takes a userId and a service and checks if the userer has access to the service
@param userId : a string with the id of the user
@param service : a string with the service
@return boolean: true if the user's group has access to the service
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.