Class KeycloakKeySamlExtensionGenerator

    • Constructor Detail

      • KeycloakKeySamlExtensionGenerator

        public KeycloakKeySamlExtensionGenerator​(String keyId)
    • Method Detail

      • getMessageSigningKeyIdFromElement

        public static String getMessageSigningKeyIdFromElement​(Element element)
        Checks that the given element is indeed a Keycloak extension KeyInfo element and returns a content of MessageSigningKeyId attribute in the given element.
        element - Element to obtain the key info from.
        null if the element is unknown or there is MessageSigningKeyId attribute unset, value of the MessageSigningKeyId attribute otherwise.