Ant Organisation Ltd documentation

Ant.Security Namespace

Classes

ClassDescription
AccessDeniedSecurityException
Acl TODO: Implemented Access control list. This is evaluated by first checking whether a user is a member of any of the denied lists. If they are then access is denied If not it then checks all the allowed lists, if the user is a member of any then access is allowed. Otherwise access is denied
AuthenticatedUser Authenticated user obtained from a Authentication server.
SecurityException Exception class used for all exceptions of security failure
SecurityManager Manager of the security namespace. This class is initialised from a registry key and uses this to load the only valided security providers. It is then used to validate authetication and permission servers (and also group and relationhip providers) This class is a singleton and is accessed through the Get method. Init must be called before Get is called
UserMap class mapping names of roles to actual users. For examples "document creator" -> "David" And "Reviewee" -> "Mark"

Interfaces

InterfaceDescription
AddEditableDeletable Collection of items which can be added, edited and deleted
AuthenticationServer Interface implemented by every Authentication server. The SecurityManager loads all valid AuthenticationServers on initialisation, using information found in the registry.
AuthenticationToken
Group Summary description for Group.
GroupProvider Provider of the groups in the system
Groups Summary description for Groups.
Permission Gets a permission
PermissionableObject Interface represents an object that can be assigned permissions
PermissionServer Interface which defines a permissions server, this server can determine whether a user has permission to access an object
Relationship Class representing a relationship between 2 users
RelationshipPermission Relationship permission interface used in the ACL in order to express permissions
RelationshipProvider Interface for the relationship provider, only one of these is instantiated by the security manager
Relationships Summary description for Relationships.
RelationshipType Expresses a relationship type. For example a relationship might be "line manager" < - > "direct report". Relationships are two way but not symetric.
RelationshipTypes Interface representing the relationship types
User This user has not been authenticated
UserInformationProvider
UserInformationType Type of user information that is provided
Users Interface giving access to all the users in a provider

Enumerations

EnumerationDescription
RelationshipDirection Enumeration representing the direction of relationship All relationships are bidirectional but are not symetric
RelationshipGraph Type of relationship graph