CardSelector changes
This commit is contained in:
parent
f25fe86e6b
commit
1c2f03e2b5
@ -294,7 +294,9 @@ int launchSelector(char* pSecretID,
|
||||
|
||||
const char line[256];
|
||||
|
||||
|
||||
char claimURI[256] = {0};
|
||||
char passwordURI[256] = {0};
|
||||
char claimvalue[256] = {0};
|
||||
|
||||
int indexToDigitalMeApp = 0;
|
||||
@ -354,6 +356,12 @@ int launchSelector(char* pSecretID,
|
||||
sscs_strncpy(pTempPtr, pValue, vLen);
|
||||
pClaims[claimCount++] = pTempPtr;
|
||||
claimStrLen += sscs_strlen(pValue);
|
||||
|
||||
if (!strcmp("Password", pKey))
|
||||
{
|
||||
printf("Mapped password is: %s\r\n", pValue);
|
||||
sscs_strncpy(passwordURI, pValue, vLen);
|
||||
}
|
||||
}
|
||||
|
||||
// clear the buffers
|
||||
@ -447,7 +455,7 @@ int launchSelector(char* pSecretID,
|
||||
strcpy(basicCred->username, claimvalue);
|
||||
basicCred->unLen = strlen(claimvalue);
|
||||
}
|
||||
else if (!strcmp(claimURI, "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"))
|
||||
else if (!strcmp(claimURI, passwordURI))
|
||||
{
|
||||
strcpy(basicCred->password, claimvalue);
|
||||
basicCred->pwordLen = strlen(claimvalue);
|
||||
|
Loading…
Reference in New Issue
Block a user