This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK web authentication

Hi,

  I am building multiple web pages with web authentication.  My index does not have any authentication.  2 of my pages have a realm 1 authentication and 1 of my pages has a realm 2 authentication.  If I log into realm 2 webpage, can I also be granted access to realm 1.  Basically realm 2 is super-user who should have access to realm 2 and realm 1.  I tried bit-wise or-ing CFG_ACCTFLG_CH1 and CFG_ACCTFLG_CH2 during the account creation but that didn't do anything.  Any help would be appreciated.

Thanks,

Will

  • So I found the answer.  If I create an account with both CH1 and CH2 flags, I can then log into realms 1 and 2 with that account.  The problem was that as a super user, I still had to log into both realms separately.  This made sense as each realm was the same level and the credentials could not be inherited.  I tried to embed the realm 2 folder inside realm 1 to eliminate needing to log in multiple times and assumed inheritance would work.  This didn't work either.  Using this method, I lost realm 2 authentication.  It allowed realm 1 authentication to work for realm 2.  Looking at efs.c, the fileCheck function only checks for authentication to the first level.  This is why this didn't work.  So what I found is that I have to edit efs.c and rebuild.  I then have to embed realms from lowest priority to highest in order to eliminate the multiple logins for each realm.

  • Glad to see this was resolved.