"Allow Protection Override" checkbook on the custom authentication-scheme.

Document ID : KB000011393
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Allow Protection Override check box in Custom Authentication Scheme Setup. 

Question:

Allow Protection Override" checkbook on the authentication-scheme. In the docs it says:  

"7.(Optional) Select the Allow Protection Override check box in Scheme Common Setup. This option specifies that the protection level in the library takes precedence over the protection level specified in the Administrative UI. 

 

 

How at the custom authentication lib level, this override, could be achieved as we there is no detail of it available at the SDK docs level? 

Environment:
SMPS & SDK 12.5 and above
Answer:

 UserContext class, method setProp() and property "SM_AUTHENTICATIONLEVEL", could be used for the above use case.

 

if (0 != theUserContext.setProp("SM_AUTHENTICATIONLEVEL", "20")) { 

 

 

context.setUserText("Failed to set the SM_AUTHENTICATIONLEVEL"); 

Additional Information:

Documentation(topic is, "custom-authentication-schemes")  describes Allow Protection Override" checkbook on the authentication-scheme. This option specifies that the protection level in the library takes precedence over the protection level specified in the Administrative UI. 

 

This feature is available after 12.5 release.