cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Client: Disable Passcode by default

Former Member
0 Kudos

Is there any opportunity to disable the passcode in general?

Whether I create a configuration file for a NDM system or build my own Fiori client I have the following opportunities for the passcode configuration:


"passcodePolicy":  {

     "expirationDays":"0",

     "hasDigits":"false",

     "hasLowerCaseLetters":"false",

     "hasSpecialLetters":"false",

     "hasUpperCaseLetters":"false",

      "defaultAllowed":"true",

      "lockTimeout":"300",

     "minLength":"8",

     "minUniqueChars":"0",

     "retryLimit":"10"

},

I can set "defaultAllowed" to "true" but by doing this I enforce the use of passcode. But I want to archive the opposite. Is there any chance to get this done?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sorry, that was to easy. You can find the solution right here.

Removing the Set Passcode Screen


It is possible to not show the screen Set Passcode for SAP Fiori Client by making the below modification.  Edit

C:\SAP\MobileSDK3\KapselSDK\apps\fiori_client\FioriClient\plugins\kapsel-plugin-logon\www\common\modules\LogonController.js

Search for the first instance of r21.  Replace

action: 'SCR_SET_PASSCODE_OPT_ON'

with

action: function() {     onCreatePasscodeSubmit({}); } 

Search for the second instance of r21.  Replace

action: 'SCR_SET_PASSCODE_OPT_ON'

with

action: function() {     onCreateSecureStoreSubmit({}); } 

Note, the file LogonController.js will appear in the project in multiple places.

I've just tested it in my XCode simulator environment and it works.

But I'm afraid that there is no opportunity to do this with a configuration file with the standard client.

Answers (0)