|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialBeanDefinitionParser
public abstract class AbstractCredentialBeanDefinitionParser
Base class for credential beans.
Field Summary | |
---|---|
private org.slf4j.Logger |
log
Class logger. |
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
ID_ATTRIBUTE |
Constructor Summary | |
---|---|
AbstractCredentialBeanDefinitionParser()
|
Method Summary | |
---|---|
protected abstract byte[] |
getEncodedPrivateKey(String keyConfigContent)
Extracts the private key bytes from the content of the PrivateKey configuration element. |
protected void |
parseAttributes(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parse the credential element attributes. |
protected void |
parseCommon(Map<QName,List<Element>> configChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the common elements from the credential configuration. |
protected void |
parseKeyNames(Map<QName,List<Element>> configChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the key names from the credential configuration. |
protected void |
parsePrivateKey(Map<QName,List<Element>> configChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the private key from the credential configuration. |
protected String |
resolveId(Element element,
org.springframework.beans.factory.support.AbstractBeanDefinition definition,
org.springframework.beans.factory.xml.ParserContext parserContext)
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
---|
doParse, doParse, getBeanClass, getBeanClassName, getParentName, parseInternal |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.slf4j.Logger log
Constructor Detail |
---|
public AbstractCredentialBeanDefinitionParser()
Method Detail |
---|
protected String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
resolveId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
protected void parseAttributes(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element
- credential elementbuilder
- bean definition builderprotected void parseCommon(Map<QName,List<Element>> configChildren, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
configChildren
- children of the credential elementbuilder
- credential buildprotected void parseKeyNames(Map<QName,List<Element>> configChildren, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
configChildren
- children of the credential elementbuilder
- credential buildprotected void parsePrivateKey(Map<QName,List<Element>> configChildren, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
configChildren
- children of the credential elementbuilder
- credential buildprotected abstract byte[] getEncodedPrivateKey(String keyConfigContent)
keyConfigContent
- content of the Private configuration element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |