Create a jar file for your custom rule class and any associated classes.
Copy the jar file to the following location in Identity Server:
Linux: /opt/novell/nam/idp/webapps/nidp/WEB-INF/lib
Windows: C:\Program Files (x86)\Novell\Tomcat\webapps\nidp\WEB-INF\lib
If Identity Server is in a cluster, the file needs to be copied to all members of the cluster.
In Administration Console, click Access Manager > Policies> Risk Configuration > Rules > New.
Rule name: Specify a name that Administration Console can use to identity this custom rule
Rule Definitions: Select the 'custom rule' to configure the custom rule
Specify the following details:
Custom class Name: Specify the name of your Java class
Check User History: Select this option if you are using the user's history data in you custom class
Negate Result: Select this option to reverse the output of the rule condition
Class Property: Specify the parameters and values which will be passed to the custom class at runtime.
Property Name: Name of the parameter.
Value: Value of the parameter.
Figure 5-2 Custom Rule Details
Click Next, and specify the risk score for the rule.
Rule Group: Select the group name.
Risk Score: Specify the risk score for the custom rule.
Privileged Rule: Select if the custom rule is a privileged rule.
Click Finish > OK.
Restart Identity Server.
On the Identity Servers page, click Update.
Update any associated devices that are using this Identity Server configuration.