The changes below create a rule which fires when a user is in a NiotEnrolled status. It can easily be modified to triiger on other conditions such as a user who is locked out.
In the policy rules file signinDeviceOnly.drl at the top in the import section add the following:
<import>com.passmarksecurity.api.UserStatus</import>
<import>com.rsa.csd.api.RsaUser</import>
Then in the main section of rules add the following new rule:
<!--
Detect users who are not enrolled
-->
<rule no-loop="true" salience="999">
<parameter identifier="facts">
<class>com.rsa.csd.api.facts.Fact</class>
</parameter>
<parameter identifier="risk">
<class>AuthRiskResult</class>
</parameter>
<java:condition>
((RsaUser)facts.getValue("user.legacyObject")).getStatus().toString().equals(UserStatus._NOTENROLLED)
</java:condition>
<java:consequence>
drools.retractObject(facts);
drools.retractObject(risk);
</java:consequence>
</rule>
Finally in c-config-forensic.xml create a policy for the new rule:
<entry key="NotEnrolled">
<value>ALLOW</value>
</entry>
Related Articles
How to Check Available SSL/TLS Protocols and Ciphers on a Specific Port Using TestSSLServer 1.67KNumber of Views How to apply RSA Authentication Manager 8.x base full kit versions and patches from the local hard drive using mounting op… 1.28KNumber of Views Authentication failed error for users with a specific administrative role when logging in to RSA Authentication Manager Pr… 133Number of Views Company-Specific Administrative URLs Update Instructions 418Number of Views Offline Days Are Not Downloaded for RSA MFA Agent 2.x After Enabling Offline Authentication Policy in Authentication Manag… 1.76KNumber of Views