To compile the login module, you need the JAR files util.jar and security_api.jar of the J2EE Engine.
To specify the classpath:
...
1. Select the project name. Open the context menu and choose Properties → Java Build Path.
2. Choose the Libraries tab and then Add External Jars.
3. Browse to the location of the util.jar under C:\usr\sap\<SID>\JCXX\j2ee\cluster\serverX\bin\system
4. Select the JAR and choose Open.
5. Choose the Add External Jars again.
6. Browse to the location of the security_api.jar under C:\usr\sap\<SID>\JCXX\j2ee\cluster\serverX\bin\interfaces\security
7. Select the JAR file and choose Open.
8. To save the new classpath, choose OK.
9. To rebuild the project from the menu path, choose Project → Rebuild All.
The classpath of the project is set and the Java class is compiled.
Exporting the Login Module Class in a JAR File