Class JksCredentials

    • Constructor Detail

      • JksCredentials

        protected JksCredentials()
    • Method Detail

      • getKeyStore

        protected static KeyStore getKeyStore​(String filePathToJKS,
                                              char[] jksPassword)
        Parameters:
        filePathToJKS - Path to the JKS file. Usually it will be relative to the Sling instances, for example, "./sling/exampleSaml2.jks"
        jksPassword - Password for the JKS as a char[]
        Returns:
        A Keystore instance or throws an uncaught Runtime exception intending to halt the caller's processes.