Access Control component
|
Variables | |
global bool | g_fwAccessControl_ModeUNICOS = false |
global string | g_fwAccessControl_UnicosDP |
UNICOS-compatibility functions | |
This is a set of functions provided for compatibilty with the UNICOS framework, which used the API of framework 1.0. | |
fwAccessControl_getPriviledgeList (dyn_string &priviledgeList, dyn_string &exceptionInfo) | |
fwAccessControl_getUserPermission (string priviledgeLevelRequired, string domain, bool &granted, dyn_string &exceptionInfo) | |
fwAccessControl_getDomainList (dyn_string &domainList, dyn_string &exceptionInfo) | |
fwAccessControl_getUserCharacteristics (string &userName, int &userId, dyn_string &dsGroupName, dyn_int &diGroupId, dyn_string exceptionInfo) | |
void | fwGetUserPermission (string privilegeLevelRequired, string domain, bool &granted, dyn_string &exceptionInfo) |
fwAccessControl_getPriviledgeList | ( | dyn_string & | priviledgeList, |
dyn_string & | exceptionInfo | ||
) |
Returns the names of privileges in UNICOS Access Control scheme.
priviledgeList,: | dyn_string, output, the priviledge names |
exceptionInfo,: | dyn_string, output, Details of any exceptions are returned here |
fwAccessControl_getUserPermission | ( | string | priviledgeLevelRequired, |
string | domain, | ||
bool & | granted, | ||
dyn_string & | exceptionInfo | ||
) |
checks if a user has a privilege in a domain, according to UNICOS Access Control scheme.
priviledgeLevelRequired,: | string, input, the required priviledge |
domain,: | string, input, the domain |
granted,: | bool, output, allowed or not |
exceptionInfo,: | dyn_string, output, Details of any exceptions are returned here |
fwAccessControl_getDomainList | ( | dyn_string & | domainList, |
dyn_string & | exceptionInfo | ||
) |
Returns the names of domains in UNICOS Access Control scheme.
domainList,: | dyn_string, output, the domain names |
exceptionInfo,: | dyn_string, output, Details of any exceptions are returned here |
fwAccessControl_getUserCharacteristics | ( | string & | userName, |
int & | userId, | ||
dyn_string & | dsGroupName, | ||
dyn_int & | diGroupId, | ||
dyn_string | exceptionInfo | ||
) |
Returns user information in UNICOS Access Control API.
userName,: | string, output, the user name |
userId,: | int, output, the user id |
dsGroupName,: | dyn_string, output, the user group name |
diGroupId,: | dyn_int, output, the user group id |
exceptionInfo,: | dyn_string, output, Details of any exceptions are returned here |
void fwGetUserPermission | ( | string | privilegeLevelRequired, |
string | domain, | ||
bool & | granted, | ||
dyn_string & | exceptionInfo | ||
) |
Will return if the current user is granted privileges according to the deprecated framework scheme.
Modification History: None
Constraints: None
Usage: JCOP framework internal, public
PVSS manager usage: VISION
privilegeLevelRequired | string that contains the name of the seeked privilege |
domain | string that contains the domain, the privilege is seeked in |
granted | boolean that will contain the result of the query |
exceptionInfo | dyn_string for JCOP Fw exception handling |
global bool g_fwAccessControl_ModeUNICOS = false |
The switch defining UNICOS privilege model
global string g_fwAccessControl_UnicosDP |
contains the DP name storing UNICOS access control data