The following procedure can be used to add an IP address into the EFN data tables for testing purposes
1) Save the atatched code as HashIP.java
2) Compile the java class"
javac HashIP.java
3) Run the java program to generate the hash value
java HashIP 192.168.0.24
String: 192.168.0.24 hashedValue is: zfcUMKgfIfVH/wwJ9CZBmDRvhHI=
4) Insert the hashed value into the efn Data tables use SQL
insert into efn_local_data values(getdate(),getdate(),'IP','zfcUMKgfIfVH/wwJ9CZBmDRvhHI=',-1,-1,-1,'1/1/09',920,getdate());
insert into efn_local_metadata values(getdate(),'S',0,1);
5) Test Adaptive Authentication from the machine with IP address 192..168.0.24 your EFN rule should fire.
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class HashIP {
public static void main(String[] args)
{
String IP=args[0];
try
{
MessageDigest m_md = MessageDigest.getInstance("SHA1");
String hashed_ip = new sun.misc.BASE64Encoder().encode(m_md.digest(IP.getBytes()));
System.out.println("String: "+IP+" hashedValue is: "+hashed_ip);
}catch (Exception ex)
{
System.out.println("catched exception"+ex.getMessage());
}
}
}
Related Articles
RSA SecurID WebExpress and ACE/Server QuickAdmin: Protecting JRun functionality from IIS Lockdown Tool 6Number of Views RSA ACE/Server Remote Administration functionality on Windows 2000 7Number of Views macOS Ventura Impacting the Functionality of MFA Agent and Authenticator for macOS 43Number of Views Dumpreader and dumptool questions about functionality in RSA Authentication Manager 1Number of Views CrowdStrike Falcon Next-Gen SIEM – RSA Ready Implementation Guide 5Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Release Notes for RSA Authentication Manager 8.8 Deploying RSA Authenticator 6.2.2 for Windows Using DISM Downloading RSA Authentication Manager license files or RSA Software token seed records