Class AbstractBasicCredentialParser

    • Field Detail

      • PRIVATE_KEY_ELEMENT_NAME

        public static final QName PRIVATE_KEY_ELEMENT_NAME
        <PrivateKey>.
      • PUBLIC_KEY_ELEMENT_NAME

        public static final QName PUBLIC_KEY_ELEMENT_NAME
        <PublicKey>.
      • SECRET_KEY_ELEMENT_NAME

        public static final QName SECRET_KEY_ELEMENT_NAME
        <SecretKey>.
      • log

        private final org.slf4j.Logger log
        log.
    • Constructor Detail

      • AbstractBasicCredentialParser

        public AbstractBasicCredentialParser()
    • Method Detail

      • parsePrivateKey

        private void parsePrivateKey​(@Nullable
                                     List<Element> childElements,
                                     ParserContext parserContext,
                                     @Nonnull
                                     BeanDefinitionBuilder builder)
        Parse the <PrivateKey> element.
        Parameters:
        childElements - the elements containing the private key, may be null or empty.
        parserContext - used for logging.
        builder - the builder.
      • parsePublicKey

        private void parsePublicKey​(@Nullable
                                    List<Element> childElements,
                                    ParserContext parserContext,
                                    @Nonnull
                                    BeanDefinitionBuilder builder)
        Parse the <PublicKey> elements.
        Parameters:
        childElements - the elements containing the public key, must have exactly one element
        parserContext - used for logging.
        builder - the builder
      • parseSecretKey

        private void parseSecretKey​(@Nullable
                                    List<Element> childElements,
                                    ParserContext parserContext,
                                    @Nonnull
                                    BeanDefinitionBuilder builder)
        Parse the <SecretKey> element.
        Parameters:
        childElements - the elements containing the private key, may be null or empty.
        parserContext - used for logging.
        builder - the builder