...
1. Select the Java class name in the project and open the context menu. Select Export.
2. In the dialog that appears, select Java → JAR File . Choose Next.
3. Specify the location where to extract the JAR file.
The location where you export the file must be under your workspace area.
4. Specify the name for the JAR file. Here we use MyLoginModuleJAR.jar:
5. To export the file, choose Finish.
The file is exported to the specified location.
Creating and Implementing the Configuration File