Package com.caplin.permissioning
package com.caplin.permissioning
The Caplin Permissioning Integration API provides classes and interfaces that allow you to create Permissioning
Adapters.
A Permissioning Adapter sends permissioning data to Caplin Liberator. The source of the permissioning data may be a permission system that is not part of Caplin Platform, but which you want to integrate with Caplin Trader.
The Permissioning Integration API uses the services of the Caplin DataSource for Java API (package
com.caplin.datasource and its subpackages), allowing the Adapter to send permissioning data to Liberator using
the DataSource protocol, but without the need to write code at the DataSource API level.
For additional information about how to use this API, see the following resources:
-
ClassDescriptionThrown at runtime if one attempts to create a
Rulethat specifies anactionwhich has already been specified by another, earlier createdRule.Defines the allowed types of authorization that can be applied to an action.Constants used when interacting with the the Permissioning APIThis class implements theGlobalContextinterface and is already deployed at the Permissioning Auth Module.Thrown when adding aPermissionableto a group, when thatPermissionablealready exists as a member.A customSubjectMappercan call one of theget()methods of this interface to access data that is common all subject mappers.A grouping of users and/or other groups.Thrown if the hierarchy to be created is unacceptable.Thrown when an attempted operation requires a transaction to be in progress; however one is not.Classes that extend this class can be assigned permissions.When aPermissioningDataSourceis constructed it must be supplied with aDataSourceobject.This implementation of theSubjectMapperinterface maps subjects in the same manner as the defaultSubjectMapper(see the section on Mapping Logic, below), but unlike the defaultSubjectMapperit permits multiple mappings to be added to it.Defines the possible roles for aPermissioningDataSourceThe SubjectMapper interface must be implemented by any customSubjectMapperclass that you write.A convenience class that can be used by implementations ofSubjectMapperto store the keys and subject mappings passed to itsupdateMappingsmethod.Deprecated.This interface exists purely to support a mode of TOBO that is inferior in many ways to the other supported TOBO modes.Deprecated.See the deprecation warning inSwitchableSubjectMapper.Thrown when an attempt is made to start a new transaction if another transaction is still in progress.Represents a permissioned user that is able to log on to Caplin Trader.