Interface ISecurity
Grid security API. Contains information about authenticated subjects currently logged in to grid together with their permission sets.
Namespace: GridGain.Core.Security
Assembly: GridGain.Core.dll
Syntax
public interface ISecurity
Methods
GetAuthenticatedSubject(Guid)
Gets security subject based on subject ID.
Declaration
ISecuritySubject GetAuthenticatedSubject(Guid subjectId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | subjectId | Subject ID. |
Returns
| Type | Description |
|---|---|
| ISecuritySubject | Authorized security subject. |
GetAuthenticatedSubjects()
Gets collection of authenticated subjects together with their permissions.
Declaration
ICollection<ISecuritySubject> GetAuthenticatedSubjects()
Returns
| Type | Description |
|---|---|
| ICollection<ISecuritySubject> | Collection of authenticated subjects. |