Class
caplin.sljsadapter.providers

StreamLinkPermissionService

This class allows you to query the product permissions of the currently logged in user, or the permissions they have when they are trading on behalf of another user.

This class depends on being able to query the StreamLink username from a currently registered UserService. Ensure that a UserService (e.g. the caplin.sljsadapter.providers StreamLinkUserService) is configured, registered and will return the username before constructing this class.

See caplin.security.permissioning.AbstractPermissionService for more details.

Constructor Summary

Attributes Name and Description
caplin.sljsadapter.providers.StreamLinkPermissionService()

This class connects to a permission data source via a StreamLink connection.

Methods implemented from class caplin.security.permissioning.AbstractPermissionService:
addAttributeListener, addGlobalPermissionListener, addPermissionListener, addPermissionSetListener, addProductPermissionsListener, addToboUserAttributeListener, canUserPerformAction, canUserPerformGlobalAction, getAllowPermissions, getAllPermissions, getDenyPermissions, getPermissionedProducts, getToboAllowedProducts, getToboDeniedProducts, getToboUserAttribute, getUnpermissionedProducts, getUserAllowedProducts, getUserAttribute, getUserDeniedProducts, removeListener
Methods implemented from class caplin.core.DelayedReadinessService:
addDelayedReadinessServiceListener

Constructor Detail

caplin.sljsadapter.providers.StreamLinkPermissionService()

This class connects to a permission data source via a StreamLink connection.