org.kuali.rice.ksb.security.admin
Class MockJavaSecurityManagementServiceImpl

java.lang.Object
  extended by org.kuali.rice.ksb.security.admin.service.impl.JavaSecurityManagementServiceImpl
      extended by org.kuali.rice.ksb.security.admin.MockJavaSecurityManagementServiceImpl
All Implemented Interfaces:
MockJavaSecurityManagementService, JavaSecurityManagementService, org.springframework.beans.factory.InitializingBean

public class MockJavaSecurityManagementServiceImpl
extends JavaSecurityManagementServiceImpl
implements MockJavaSecurityManagementService

This is a mock class used by the KSB test harness to supplant the JavaSecurityManagementServiceImpl class

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.ksb.security.admin.service.impl.JavaSecurityManagementServiceImpl
CLIENT_KEY_GENERATOR_ALGORITHM, CLIENT_KEY_PAIR_KEY_SIZE, CLIENT_SECURE_RANDOM_ALGORITHM
 
Constructor Summary
MockJavaSecurityManagementServiceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 KeyStore getModuleKeyStore()
           
 String getModuleKeyStoreAlias()
           
 String getModuleKeyStoreLocation()
           
 String getModuleKeyStorePassword()
           
 PrivateKey getModulePrivateKey()
           
 
Methods inherited from class org.kuali.rice.ksb.security.admin.service.impl.JavaSecurityManagementServiceImpl
addClientCertificateToModuleKeyStore, generateCertificate, generateClientKeystore, generateKeyStore, getCertificate, getCertificateAlias, getListOfModuleKeyStoreEntries, getModuleAlgorithm, getModuleKeyStoreType, getModuleSignatureAlgorithm, isAliasInKeystore, loadKeyStore, loadPrivateKey, removeClientCertificate, setModuleKeyStoreAlias, setModuleKeyStoreLocation, setModuleKeyStorePassword, verifyConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.ksb.security.admin.service.JavaSecurityManagementService
generateClientKeystore, getCertificate, getCertificateAlias, getListOfModuleKeyStoreEntries, getModuleSignatureAlgorithm, isAliasInKeystore, removeClientCertificate
 

Constructor Detail

MockJavaSecurityManagementServiceImpl

public MockJavaSecurityManagementServiceImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class JavaSecurityManagementServiceImpl
Throws:
Exception

getModuleKeyStoreLocation

public String getModuleKeyStoreLocation()
Specified by:
getModuleKeyStoreLocation in interface JavaSecurityManagementService
Overrides:
getModuleKeyStoreLocation in class JavaSecurityManagementServiceImpl

getModuleKeyStoreAlias

public String getModuleKeyStoreAlias()
Specified by:
getModuleKeyStoreAlias in interface JavaSecurityManagementService
Overrides:
getModuleKeyStoreAlias in class JavaSecurityManagementServiceImpl

getModuleKeyStorePassword

public String getModuleKeyStorePassword()
Specified by:
getModuleKeyStorePassword in interface MockJavaSecurityManagementService
Overrides:
getModuleKeyStorePassword in class JavaSecurityManagementServiceImpl

getModuleKeyStore

public KeyStore getModuleKeyStore()
Specified by:
getModuleKeyStore in interface MockJavaSecurityManagementService
Overrides:
getModuleKeyStore in class JavaSecurityManagementServiceImpl

getModulePrivateKey

public PrivateKey getModulePrivateKey()
Specified by:
getModulePrivateKey in interface JavaSecurityManagementService
Overrides:
getModulePrivateKey in class JavaSecurityManagementServiceImpl


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.