|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.connection.ServerKeyStoreManager
public final class ServerKeyStoreManager
The ServerKeyStoreManager loads the keystore, which is needed for decryption of user passwords and for RMI encryption.
Method Summary | |
---|---|
String |
decrypt(String password)
Decrypts a password with the server's password. |
static ServerKeyStoreManager |
getInstance()
Returns the instance of the ServerKeyStoreManager. |
KeyManagerFactory |
getKeyManagerFactory()
Creates a KeyManagerFactory for the RMI encryption. |
KeyStore |
getKeyStore()
Returns the keystore of the server. |
char[] |
getKeyStorePassword()
Returns the keystore password as a char array. |
void |
setJavaSSLProperties()
Sets java runtime properties for SSL. |
void |
unloadKeyStore()
Unloads the keystore by setting it to null. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServerKeyStoreManager getInstance()
public String decrypt(String password) throws ServerKeyStoreException
password
- encrypted password
ServerKeyStoreException
- in case of failurepublic KeyStore getKeyStore() throws ServerKeyStoreException
ServerKeyStoreException
- in case key store initialization failspublic void unloadKeyStore()
public KeyManagerFactory getKeyManagerFactory() throws ServerKeyStoreException
KeyManagerFactory
for the RMI encryption.
ServerKeyStoreException
- in case of failurepublic void setJavaSSLProperties()
public char[] getKeyStorePassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |