The following functionalities are provided by the platform with respect to security

User Authentication

The platform supports two types of authentication:

Permission Management

Permissions can be assigned to any user as well as to any role. A permission is defined by three attributes:

Permission Check Service

The platform provides a web service to check whether the current user owns a certain permission. This service is invoked with a GET-request specifying the resource path /security/check and the query parameter permission. The parameter has the format:

'(' <permission class name> <double-quoted name> <double-quoted actions> ')'.

An example of a valid URL would be: http://localhost:8282/security/check?permission=(java.io.FilePermission "/tmp/*" "read")

As a result of this check the platform returns a response with the code 204, if the user has this permission.