|
||||||||||
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
edu.internet2.middleware.shibboleth.common.config.security.AbstractBasicCredentialBeanDefinitionParser
public abstract class AbstractBasicCredentialBeanDefinitionParser
Base class for X509 credential beans.
Field Summary |
---|
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
ID_ATTRIBUTE |
Constructor Summary | |
---|---|
AbstractBasicCredentialBeanDefinitionParser()
|
Method Summary | |
---|---|
protected void |
doParse(Element element,
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,
BeanDefinitionBuilder builder)
Parses the public key from the credential configuration. |
protected void |
parseSecretKey(Map<QName,List<Element>> configChildren,
BeanDefinitionBuilder builder)
Parses the secret key from the credential configuration. |
protected String |
resolveId(Element element,
AbstractBeanDefinition definition,
ParserContext parserContext)
|
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialBeanDefinitionParser |
---|
getEncodedPrivateKey, parseAttributes, parseCommon, parseKeyNames, parsePrivateKey |
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
---|
doParse, 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 |
Constructor Detail |
---|
public AbstractBasicCredentialBeanDefinitionParser()
Method Detail |
---|
protected Class getBeanClass(Element element)
getBeanClass
in class AbstractSingleBeanDefinitionParser
protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
resolveId
in class AbstractCredentialBeanDefinitionParser
protected void doParse(Element element, BeanDefinitionBuilder builder)
doParse
in class AbstractSingleBeanDefinitionParser
protected void parseSecretKey(Map<QName,List<Element>> configChildren, BeanDefinitionBuilder builder)
configChildren
- children of the credential elementbuilder
- credential buildprotected abstract byte[] getEncodedSecretKey(String keyConfigContent)
keyConfigContent
- content of the SecretKey configuration element
protected void parsePublicKey(Map<QName,List<Element>> configChildren, BeanDefinitionBuilder builder)
configChildren
- children of the credential elementbuilder
- credential buildprotected abstract byte[] getEncodedPublicKey(String keyConfigContent)
keyConfigContent
- content of the PublicKey configuration element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |