Static operation.

This static operation returns an instance of the security service related to the current user. Depending on the context where this operation has been called this may be an actual person or a service user.You need this to use all other non-static operations on the security service.

Interfaces

  • getSecurityService() : SecurityService
  • getSecurityService(loadAuthorizationsFromResources : Boolean) : SecurityService
    This is an internal operation interface you should not use.

Parameters


NameTypeDirectionDescriptionAllowed Values / Example
loadAuthorizationsFromResources
BooleaninThis is a internal and technical parameter you should not use.

SecurityServicereturnReturns an instance of the security service related to the current user. Depending on the context where this operation has been called this may be an actual person or a service user.

Parameter Types

SecurityService

The security service has no public properties. You need to use getter operations to access properties, like e.g. getCurrentUserRoles() or getCurrentUserUUID().

On this Page:
  • No labels