In order to determine the permissions assigned to a user, the permissioning data returned by the methods of this class can be passed as parameters to caplin.services.security.PermissionService#canUserPerformAction and caplin.services.security.PermissionService#addPermissionListener.
Attributes | Name and Description |
---|---|
|
caplin.services.security.PermissionKey(String sProduct, String sNamespace, String sAction)
Creates a new |
Attributes | Name and Description |
---|---|
|
String
getAction()
Gets the permissioning action that was assigned to this instance (for example "VIEW"). |
|
String
getNamespace()
Gets the permisssioning namespace that was assigned to this instance (for example "null"). |
|
String
getProduct()
Gets the product name that was assigned to this instance (for example "/FX/Major"). |
►
caplin.services.security.PermissionKey(String sProduct, String sNamespace, String sAction)
Creates a new PermissionKey
.
String | sProduct | The product name that will be assigned to this instance (for example "/FX/Major"). |
String | sNamespace | (Optional) The permissioning namespace that will be assigned to this instance (for example "null"). If "null", then the assigned permission resides in the global (default) namespace. |
String | sAction | The permissioning action that will be assigned to this instance (for example "VIEW"). |
►
String
getAction()
Gets the permissioning action that was assigned to this instance (for example "VIEW").
►
String
getNamespace()
Gets the permisssioning namespace that was assigned to this instance (for example "null").
►
String
getProduct()
Gets the product name that was assigned to this instance (for example "/FX/Major").