public abstract class AbstractBasicCredentialBeanDefinitionParser extends AbstractCredentialBeanDefinitionParser
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
AbstractBasicCredentialBeanDefinitionParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class |
getBeanClass(Element element) |
protected abstract byte[] |
getEncodedPublicKey(String keyConfigContent)
Extracts the public key bytes from the content of the PublicKey configuration element.
|
protected abstract byte[] |
getEncodedSecretKey(String keyConfigContent)
Extracts the secret key bytes from the content of the SecretKey configuration element.
|
protected void |
parsePublicKey(Map<QName,List<Element>> configChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the public key from the credential configuration.
|
protected void |
parseSecretKey(Map<QName,List<Element>> configChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the secret key from the credential configuration.
|
protected String |
resolveId(Element element,
org.springframework.beans.factory.support.AbstractBeanDefinition definition,
org.springframework.beans.factory.xml.ParserContext parserContext) |
getEncodedPrivateKey, parseAttributes, parseCommon, parseKeyNames, parsePrivateKeydoParse, getBeanClassName, getParentName, parseInternalpublic AbstractBasicCredentialBeanDefinitionParser()
protected Class getBeanClass(Element element)
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
resolveId in class AbstractCredentialBeanDefinitionParserprotected void doParse(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParserprotected void parseSecretKey(Map<QName,List<Element>> configChildren, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
configChildren - children of the credential elementbuilder - credential buildprotected abstract byte[] getEncodedSecretKey(String keyConfigContent)
keyConfigContent - content of the SecretKey configuration elementprotected void parsePublicKey(Map<QName,List<Element>> configChildren, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
configChildren - children of the credential elementbuilder - credential buildprotected abstract byte[] getEncodedPublicKey(String keyConfigContent)
keyConfigContent - content of the PublicKey configuration elementCopyright © 1999-2015. All Rights Reserved.