org.kuali.rice.ksb.security.admin.service
Interface JavaSecurityManagementService

All Known Implementing Classes:
JavaSecurityManagementServiceImpl

public interface JavaSecurityManagementService

This is an interface for the Java Security Management piece of the KSB module of Rice. It is used for modifying and creating keystores and certificates

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

Method Summary
 KeyStore generateClientKeystore(String alias, String passphrase)
           
 Certificate getCertificate(String alias)
           
 String getCertificateAlias(Certificate certificate)
           
 List<KeyStoreEntryDataContainer> getListOfModuleKeyStoreEntries()
           
 String getModuleKeyStoreAlias()
           
 String getModuleKeyStoreLocation()
           
 PrivateKey getModulePrivateKey()
           
 String getModuleSignatureAlgorithm()
           
 boolean isAliasInKeystore(String alias)
           
 void removeClientCertificate(String alias)
           
 

Method Detail

removeClientCertificate

void removeClientCertificate(String alias)
                             throws KeyStoreException
Throws:
KeyStoreException

generateClientKeystore

KeyStore generateClientKeystore(String alias,
                                String passphrase)
                                throws GeneralSecurityException
Throws:
GeneralSecurityException

getListOfModuleKeyStoreEntries

List<KeyStoreEntryDataContainer> getListOfModuleKeyStoreEntries()

getModuleKeyStoreAlias

String getModuleKeyStoreAlias()

getModuleKeyStoreLocation

String getModuleKeyStoreLocation()

getModuleSignatureAlgorithm

String getModuleSignatureAlgorithm()

getCertificate

Certificate getCertificate(String alias)
                           throws KeyStoreException
Throws:
KeyStoreException

getModulePrivateKey

PrivateKey getModulePrivateKey()

isAliasInKeystore

boolean isAliasInKeystore(String alias)
                          throws KeyStoreException
Throws:
KeyStoreException

getCertificateAlias

String getCertificateAlias(Certificate certificate)
                           throws KeyStoreException
Throws:
KeyStoreException


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