edu.internet2.middleware.shibboleth.common.config.security
Class InlineBasicCredentialBeanDefinitionParser
java.lang.Object
org.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
edu.internet2.middleware.shibboleth.common.config.security.InlineBasicCredentialBeanDefinitionParser
- All Implemented Interfaces:
- BeanDefinitionParser
public class InlineBasicCredentialBeanDefinitionParser
- extends AbstractBasicCredentialBeanDefinitionParser
Spring bean definition parser for inline credential configuration elements.
Method Summary |
protected byte[] |
getEncodedPrivateKey(String keyConfigContent)
Extracts the private key bytes from the content of the PrivateKey configuration element. |
protected byte[] |
getEncodedPublicKey(String keyConfigContent)
Extracts the public key bytes from the content of the PublicKey configuration element. |
protected byte[] |
getEncodedSecretKey(String keyConfigContent)
Extracts the secret key bytes from the content of the SecretKey configuration element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEMA_TYPE
public static final QName SCHEMA_TYPE
- Schema type.
InlineBasicCredentialBeanDefinitionParser
public InlineBasicCredentialBeanDefinitionParser()
getEncodedPublicKey
protected byte[] getEncodedPublicKey(String keyConfigContent)
- Extracts the public key bytes from the content of the PublicKey configuration element.
- Specified by:
getEncodedPublicKey
in class AbstractBasicCredentialBeanDefinitionParser
- Parameters:
keyConfigContent
- content of the PublicKey configuration element
- Returns:
- private key bytes
getEncodedPrivateKey
protected byte[] getEncodedPrivateKey(String keyConfigContent)
- Extracts the private key bytes from the content of the PrivateKey configuration element.
- Specified by:
getEncodedPrivateKey
in class AbstractCredentialBeanDefinitionParser
- Parameters:
keyConfigContent
- content of the Private configuration element
- Returns:
- private key bytes
getEncodedSecretKey
protected byte[] getEncodedSecretKey(String keyConfigContent)
- Extracts the secret key bytes from the content of the SecretKey configuration element.
- Specified by:
getEncodedSecretKey
in class AbstractBasicCredentialBeanDefinitionParser
- Parameters:
keyConfigContent
- content of the SecretKey configuration element
- Returns:
- secret key bytes
Copyright © 2006-2011 Internet2. All Rights Reserved.