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 CrowdStrike Falcon Next-Gen SIEM – RSA Ready Implementation Guide 5Number of Views CrowdStrike Falcon Next-Gen SIEM - Authentication Manager - RSA Ready Implementation Guide 2Number of Views In the General Settings associations page clicking reset creates System Internal Error 47Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.8 Setup and Configuration Guide