edu.internet2.middleware.shibboleth.common.config.security
Class BasicCredentialFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialFactoryBean
          extended by edu.internet2.middleware.shibboleth.common.config.security.BasicCredentialFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean

public class BasicCredentialFactoryBean
extends AbstractCredentialFactoryBean

Factory bean for building X509Certificates.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
BasicCredentialFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 Class getObjectType()
          
 PrivateKey getPrivateKey()
          Gets the private key respresented by this credential.
 PublicKey getPublicKey()
          Gets the public key respresented by this credential.
 SecretKey getSecretKey()
          Gets the secret key respresented by this credential.
 void setPrivateKey(PrivateKey key)
          Sets the private key respresented by this credential.
 void setPublicKey(PublicKey key)
          Sets the public key respresented by this credential.
 void setSecretKey(SecretKey key)
          Sets the secret key respresented by this credential.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialFactoryBean
getEntityID, getKeyNames, getUsageType, setEntityID, setKeyNames, setUsageType
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCredentialFactoryBean

public BasicCredentialFactoryBean()
Method Detail

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class AbstractFactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface FactoryBean
Specified by:
getObjectType in class AbstractFactoryBean

getPrivateKey

public PrivateKey getPrivateKey()
Gets the private key respresented by this credential.

Returns:
private key respresented by this credential

getPublicKey

public PublicKey getPublicKey()
Gets the public key respresented by this credential.

Returns:
public key respresented by this credential

getSecretKey

public SecretKey getSecretKey()
Gets the secret key respresented by this credential.

Returns:
secret key respresented by this credential

setPrivateKey

public void setPrivateKey(PrivateKey key)
Sets the private key respresented by this credential.

Parameters:
key - private key respresented by this credential

setPublicKey

public void setPublicKey(PublicKey key)
Sets the public key respresented by this credential.

Parameters:
key - public key respresented by this credential

setSecretKey

public void setSecretKey(SecretKey key)
Sets the secret key respresented by this credential.

Parameters:
key - secret key respresented by this credential


Copyright © 2006-2009 Internet2. All Rights Reserved.