public class SignatureValidationParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
static QName |
PUBLIC_KEY
Element for embedded public keys.
|
static QName |
TYPE_NAME
Schema type name.
|
| Constructor and Description |
|---|
SignatureValidationParser() |
| Modifier and Type | Method and Description |
|---|---|
private org.springframework.beans.factory.config.BeanDefinition |
buildCertificateCredential(String attribute)
Build (the definition) for a X509Filesystem Credential.
|
private org.springframework.beans.factory.config.BeanDefinition |
buildPublicKeyCredential(org.springframework.beans.factory.xml.ParserContext parserContext,
List<Element> publicKeys)
Build (the definition) for a BasicInline Credential.
|
private void |
buildTrustEngine(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.springframework.beans.factory.config.BeanDefinition credential)
Build a trust engine and populate it with the supplied credential (definition).
|
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class |
getBeanClass(Element element) |
protected boolean |
shouldGenerateId() |
doParse, getBeanClassName, getParentName, parseInternal@Nonnull private final org.slf4j.Logger log
protected Class getBeanClass(Element element)
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprivate void buildTrustEngine(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.springframework.beans.factory.config.BeanDefinition credential)
builder - the builder for this bean.credential - the definition of a Credentialprivate org.springframework.beans.factory.config.BeanDefinition buildPublicKeyCredential(org.springframework.beans.factory.xml.ParserContext parserContext,
List<Element> publicKeys)
parserContext - used for loggingpublicKeys - the list of <PublicKey> elementsprivate org.springframework.beans.factory.config.BeanDefinition buildCertificateCredential(String attribute)
attribute - the name of the certificate fileprotected boolean shouldGenerateId()
shouldGenerateId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.