Class 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 Detail

    • Constructor Detail

      • AmazonHSMLoginUtils

        public AmazonHSMLoginUtils()
    • 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 to
        hsmPassword - the password the used by the Luna client to access the HSM.
        servletContext - the javax.servlet.ServletContext associated with the calling thread