const char *API_PASSWD_SET = "security-server::api-password-set";
const char *API_PASSWD_CHECK = "security-server::api-password-check";
+const char *API_PASSWD_RESET = "security-server::api-password-reset";
const char *API_RULE_REQUIRED = "w";
const char *PROC_AUDIO_GROUP_NAME = "audio";
SecurityServer::AccessProvider provider(TEST03_SUBJECT);
provider.allowAPI(API_PASSWD_CHECK, API_RULE_REQUIRED, TRACE_FROM_HERE);
provider.allowAPI(API_PASSWD_SET, API_RULE_REQUIRED, TRACE_FROM_HERE);
+ provider.allowAPI(API_PASSWD_RESET, API_RULE_REQUIRED, TRACE_FROM_HERE);
provider.applyAndSwithToUser(APP_UID, APP_GID, TRACE_FROM_HERE);
ret = security_server_set_pwd_validity(10);
RUNNER_CHILD_TEST(tc04_check_API_passwd_denied)
{
- RUNNER_IGNORED_MSG("SS API label checking not enabled yet.");
-
int ret = -1;
unsigned int attempt, max_attempt, expire_sec;
RUNNER_CHILD_TEST(tc06_check_API_middleware_denied)
{
- RUNNER_IGNORED_MSG("SS API label checking not enabled yet.");
-
int ret = -1;
size_t cookie_size = security_server_get_cookie_size();
char cookie[20];