com.sap.security.core.server.securestorage.remote
Class RemoteSecureStorageSuperContextImpl
java.lang.Object
|
+--javax.rmi.PortableRemoteObject
|
+--com.sap.security.core.server.securestorage.remote.RemoteSecureStorageSuperContextImpl
- All Implemented Interfaces:
- java.rmi.Remote
- Direct Known Subclasses:
- RemoteSecureStorageAdministratorContextImpl, RemoteSecureStorageClientContextImpl
- public abstract class RemoteSecureStorageSuperContextImpl
- extends javax.rmi.PortableRemoteObject
- implements java.rmi.Remote
|
Method Summary |
void |
checkConfiguration(java.lang.String name,
boolean check)
check 2nd level configurations
Method checkConfiguration. |
void |
checkRootConfiguration(java.lang.String rootName,
boolean check)
check root configuration
Method checkRootConfigurations. |
com.sap.engine.frame.core.configuration.Configuration |
createConfiguration(java.lang.String configurationName,
com.sap.engine.frame.core.configuration.Configuration storageLocation)
create 2nd level configurations
Method createConfigurations. |
void |
createRoot(java.lang.String rootName)
create root
Method createRoot. |
java.lang.String |
generateSecretKey(int clientType,
java.lang.String clientID)
Generate secret key
Method generateSecretKey. |
java.security.Key |
getKey(java.lang.String latestKeyID)
|
protected java.security.KeyStore |
getKeystore()
|
protected java.lang.String |
getLatestKeyID(int clientType,
java.lang.String clientID)
Returns the latest key of the client |
protected java.lang.String |
getPermissionName(int clientType,
java.lang.String clientID)
|
java.security.ProtectionDomain[] |
getProtectedProtectionDomainStack()
|
protected void |
grantPermissions(java.lang.String constants,
java.lang.String param1,
java.lang.String param2)
|
protected void |
setKeystoreReference()
|
protected void |
setNumberOfKeys(java.lang.String latestKeyID)
Sets the number_Of_Keys_Generated_Today. |
void |
setProtectedProtectionDomainStack()
|
| Methods inherited from class javax.rmi.PortableRemoteObject |
connect, exportObject, narrow, toStub, unexportObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_secureStorageConfigurationHandler
protected com.sap.engine.frame.core.configuration.ConfigurationHandler _secureStorageConfigurationHandler
_serviceContext
protected com.sap.engine.frame.ApplicationServiceContext _serviceContext
_J2EEEngineKeystore
protected java.security.KeyStore _J2EEEngineKeystore
_constants
protected java.lang.String _constants
_param1
protected java.lang.String _param1
_param2
protected java.lang.String _param2
RemoteSecureStorageSuperContextImpl
public RemoteSecureStorageSuperContextImpl()
throws java.rmi.RemoteException
RemoteSecureStorageSuperContextImpl
public RemoteSecureStorageSuperContextImpl(com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
throws java.rmi.RemoteException
checkRootConfiguration
public void checkRootConfiguration(java.lang.String rootName,
boolean check)
throws CreateConfigurationsException
- check root configuration
Method checkRootConfigurations.
checkConfiguration
public void checkConfiguration(java.lang.String name,
boolean check)
- check 2nd level configurations
Method checkConfiguration.
- Parameters:
name - check -
createRoot
public void createRoot(java.lang.String rootName)
throws CreateConfigurationsException
- create root
Method createRoot.
- Parameters:
name -
createConfiguration
public com.sap.engine.frame.core.configuration.Configuration createConfiguration(java.lang.String configurationName,
com.sap.engine.frame.core.configuration.Configuration storageLocation)
throws CreateConfigurationsException
- create 2nd level configurations
Method createConfigurations.
- Parameters:
tableName - root -
getKeystore
protected java.security.KeyStore getKeystore()
throws KeyStoreAccessException
getLatestKeyID
protected java.lang.String getLatestKeyID(int clientType,
java.lang.String clientID)
throws KeyStoreAccessException,
NoKeyForClientException
- Returns the latest key of the client
- Returns:
- String
- Throws:
KeyStoreAccessException - NoKeyForClientException -
generateSecretKey
public java.lang.String generateSecretKey(int clientType,
java.lang.String clientID)
throws KeyGenerationException
- Generate secret key
Method generateSecretKey.
- Throws:
KeyGenerationException -
getKey
public java.security.Key getKey(java.lang.String latestKeyID)
throws java.security.KeyStoreException
setNumberOfKeys
protected void setNumberOfKeys(java.lang.String latestKeyID)
- Sets the number_Of_Keys_Generated_Today.
- Parameters:
number_Of_Keys_Generated_Today - The number_Of_Keys_Generated_Today to set
getProtectedProtectionDomainStack
public java.security.ProtectionDomain[] getProtectedProtectionDomainStack()
setProtectedProtectionDomainStack
public void setProtectedProtectionDomainStack()
grantPermissions
protected void grantPermissions(java.lang.String constants,
java.lang.String param1,
java.lang.String param2)
getPermissionName
protected java.lang.String getPermissionName(int clientType,
java.lang.String clientID)
throws KeyStoreAccessException
setKeystoreReference
protected void setKeystoreReference()
throws KeyStoreAccessException