Class AmazonHSMLoginUtils
- java.lang.Object
-
- com.avoka.fc.core.service.storage.AmazonHSMLoginUtils
-
public class AmazonHSMLoginUtils extends Object
Provides a utility class that logins to the HSM. It is used by AmazonHSMSubmissionDataStorageService and CitiHSMTokenizer Groovy service. This uses the LunaJSP library.- Since:
- 4.3.4.2
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_PROVIDER
The name of the Luna JSP library Key Provider
-
Constructor Summary
Constructors Constructor Description AmazonHSMLoginUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
loginSlotManager(int slotId, String hsmPassword, ServletContext servletContext)
logs into the HSM Slot Manager to initialize the luna JSP library.
-
-
-
Field Detail
-
KEY_PROVIDER
public static final String KEY_PROVIDER
The name of the Luna JSP library Key Provider- See Also:
- Constant Field Values
-
-
Method Detail
-
loginSlotManager
public static void loginSlotManager(int slotId, String hsmPassword, ServletContext servletContext)
logs into the HSM Slot Manager to initialize the luna JSP library.- Parameters:
slotId
- the slot id on the HSM to connect tohsmPassword
- the password the used by the Luna client to access the HSM.servletContext
- the javax.servlet.ServletContext associated with the calling thread
-
-