[This is preliminary documentation and is subject to change.]
The ISecurityManagerImplementation type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | Authenticate(AuthenticationToken) |
Authenticates user by checking the supplied token against the
authentication store that this manager represents.
If token is invalid then UserKind.Invalid is returned.
This method may populate user access rights completely or partially - depending on store implementation.
If rights are computed on authentication than Authorize() just checks existing in-memory structure, otherwise
Authorize() may re-fetch permissions from store on every call or cache them for the specified interval in memory
(Inherited from ISecurityManager.) |
![]() | Authenticate(Credentials) |
Authenticates user by checking the supplied credentials against the
authentication store that this manager represents.
If credential are invalid then UserKind.Invalid is returned.
This method may populate user access rights completely or partially - depending on store implementation.
If rights are computed on authentication than Authorize() just checks existing in-memory structure, otherwise
Authorize() may re-fetch permissions from store on every call or cache them for the specified interval in memory
(Inherited from ISecurityManager.) |
![]() | Authenticate(User) |
Authenticates user by checking the supplied user's token against the
authentication store that this manager represents.
This method is called by the framework after User object was deserialized and it's Rights need to be re-fetched.
If token is invalid then UserStatus.Invalid is set.
This method may populate user access rights completely or partially - depending on store implementation.
If rights are computed on authentication than Authorize() just checks existing in-memory structure, otherwise
Authorize() may re-fetch permissions from store on every call or cache them for the specified interval in memory
(Inherited from ISecurityManager.) |
![]() | Authorize |
Authorizes user by finding appropriate access level to permission by supplied path.
Depending on particular implementation, rights may be fully or partially cached in memory.
Note: this authorization call returns AccessLevel object that may contain a complex data structure.
The final assertion of user's ability to perform a certain action is encapsulated in Permission.Check() method.
Call Permission.AuthorizeAndGuardAction(MemberInfo, ISession) to guard classes and methods from unauthorized access
(Inherited from ISecurityManager.) |
![]() | Configure |
Configures an entity from supplied config node
(Inherited from IConfigurable.) |
![]() | ![]() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from IApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from IApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from IApplicationComponent.) |
![]() | PasswordManager | (Inherited from ISecurityManager.) |
See Also