com.sap.security.core.server.securestorage.remote

Class RemoteSecureStorageAdministratorContextImpl

java.lang.Object
  extended byRemoteSecureStorageSuperContextImpl
      extended bycom.sap.security.core.server.securestorage.remote.RemoteSecureStorageAdministratorContextImpl
All Implemented Interfaces:
Remote, RemoteSecureStorageAdministratorContextInterface

public class RemoteSecureStorageAdministratorContextImpl
extends RemoteSecureStorageSuperContextImpl
implements RemoteSecureStorageAdministratorContextInterface

See Also:
Serialized Form

Constructor Summary
RemoteSecureStorageAdministratorContextImpl(com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler, com.sap.engine.frame.ApplicationServiceContext serviceContext)
          Standard Constructor
 
Method Summary
 void checkConfiguration(String name, boolean check)
           
 void checkRootConfiguration(String rootName, boolean check)
           
 void deleteObject(int clientType, String clientID, String objectID)
          Deletes a central stored object of a client
 void generateSecretKeyID(int clientType, String clientID)
           
 Vector getClientIDs(int clientType)
          Returns a list with the names of all web-applications/services (client = web-application|service) which use the secure-storage
 int getEncryptionRate()
           
 String getLatestKeyID(int clientType, String clientID)
           
 int getNumberOfAllClientObjects()
           
 int getNumberOfAllClients()
           
 int getNumberOfEncodedObjects()
           
 int getNumberOfEncryptedObjects()
           
 int getNumberOfKeys()
           
 int getNumberOfServiceClientObjects()
           
 int getNumberOfServiceClients()
           
 int getNumberOfServiceKeys()
           
 int getNumberOfWebAppClientObjects()
           
 int getNumberOfWebAppClients()
           
 int getNumberOfWebAppKeys()
           
 Vector getObjectIDs(int clientType, String clientID)
          Returns a list with the names of central stored objects of clients
 Vector getSecretKeyIDs(String clientID, int clientType)
          Returns a list with the names of secret keys of clients
 boolean isClientSecure(int clientType, String clientID)
           
 boolean isCryptoLibDepolyed()
           
 boolean isSecure(int clientType, String clientID, String objectID)
           
 void reEncryptAllCentralStoredObjects()
          Re-encrypts all central stored objects
 void reEncryptCentralStoredObject(int clientType, String clientID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSecureStorageAdministratorContextImpl

public RemoteSecureStorageAdministratorContextImpl(com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
                                                   com.sap.engine.frame.ApplicationServiceContext serviceContext)
                                            throws RemoteException
Standard Constructor

Parameters:
secureStorageConfigurationHandler -
Method Detail

checkRootConfiguration

public void checkRootConfiguration(String rootName,
                                   boolean check)
                            throws CreateConfigurationsException
Specified by:
checkRootConfiguration in interface RemoteSecureStorageAdministratorContextInterface
Throws:
CreateConfigurationsException

checkConfiguration

public void checkConfiguration(String name,
                               boolean check)
Specified by:
checkConfiguration in interface RemoteSecureStorageAdministratorContextInterface

getLatestKeyID

public String getLatestKeyID(int clientType,
                             String clientID)
                      throws NoKeyForClientException,
                             KeyStoreAccessException,
                             KeyStoreAccessException
Specified by:
getLatestKeyID in interface RemoteSecureStorageAdministratorContextInterface
Throws:
NoKeyForClientException
KeyStoreAccessException

getClientIDs

public Vector getClientIDs(int clientType)
                    throws StorageLocationOpenException
Returns a list with the names of all web-applications/services (client = web-application|service) which use the secure-storage

Specified by:
getClientIDs in interface RemoteSecureStorageAdministratorContextInterface
Parameters:
clientType -
Returns:
Vector
Throws:
StorageLocationOpenException

getObjectIDs

public Vector getObjectIDs(int clientType,
                           String clientID)
                    throws StorageLocationOpenException
Returns a list with the names of central stored objects of clients

Specified by:
getObjectIDs in interface RemoteSecureStorageAdministratorContextInterface
Parameters:
clientID -
clientType -
Returns:
String[]
Throws:
StorageLocationOpenException

getSecretKeyIDs

public Vector getSecretKeyIDs(String clientID,
                              int clientType)
                       throws KeyStoreAccessException,
                              NoKeyForClientException
Returns a list with the names of secret keys of clients

Specified by:
getSecretKeyIDs in interface RemoteSecureStorageAdministratorContextInterface
Parameters:
clientID -
clientType -
Returns:
String[]
Throws:
KeyStoreAccessException
NoKeyForClientException

deleteObject

public void deleteObject(int clientType,
                         String clientID,
                         String objectID)
                  throws ObjectDeletionException
Deletes a central stored object of a client

Specified by:
deleteObject in interface RemoteSecureStorageAdministratorContextInterface
Parameters:
clientID -
clientType -
objectID -
Throws:
ObjectDeletionException

generateSecretKeyID

public void generateSecretKeyID(int clientType,
                                String clientID)
                         throws KeyGenerationException
Specified by:
generateSecretKeyID in interface RemoteSecureStorageAdministratorContextInterface
Throws:
KeyGenerationException

reEncryptCentralStoredObject

public void reEncryptCentralStoredObject(int clientType,
                                         String clientID)
                                  throws ObjectModificationException
Specified by:
reEncryptCentralStoredObject in interface RemoteSecureStorageAdministratorContextInterface
Throws:
ObjectModificationException

reEncryptAllCentralStoredObjects

public void reEncryptAllCentralStoredObjects()
                                      throws ObjectEncryptionException,
                                             RemoteException
Re-encrypts all central stored objects

Specified by:
reEncryptAllCentralStoredObjects in interface RemoteSecureStorageAdministratorContextInterface
Throws:
ObjectEncryptionException
RemoteException

isSecure

public boolean isSecure(int clientType,
                        String clientID,
                        String objectID)
                 throws SecureStorageException
Specified by:
isSecure in interface RemoteSecureStorageAdministratorContextInterface
Throws:
SecureStorageException

isClientSecure

public boolean isClientSecure(int clientType,
                              String clientID)
                       throws SecureStorageException
Specified by:
isClientSecure in interface RemoteSecureStorageAdministratorContextInterface
Throws:
SecureStorageException

getNumberOfServiceClients

public int getNumberOfServiceClients()
                              throws StorageLocationOpenException
Specified by:
getNumberOfServiceClients in interface RemoteSecureStorageAdministratorContextInterface
Returns:
the number of services that uses the securestorage
Throws:
StorageLocationOpenException

getNumberOfWebAppClients

public int getNumberOfWebAppClients()
                             throws StorageLocationOpenException
Specified by:
getNumberOfWebAppClients in interface RemoteSecureStorageAdministratorContextInterface
Returns:
the number of webapplications that uses the securestorage
Throws:
StorageLocationOpenException

getNumberOfAllClients

public int getNumberOfAllClients()
                          throws StorageLocationOpenException
Specified by:
getNumberOfAllClients in interface RemoteSecureStorageAdministratorContextInterface
Returns:
the number of all clients that uses the securestorage
Throws:
StorageLocationOpenException

getNumberOfServiceClientObjects

public int getNumberOfServiceClientObjects()
                                    throws StorageLocationOpenException
Specified by:
getNumberOfServiceClientObjects in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of objects stored by services
Throws:
StorageLocationOpenException

getNumberOfWebAppClientObjects

public int getNumberOfWebAppClientObjects()
                                   throws StorageLocationOpenException
Specified by:
getNumberOfWebAppClientObjects in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of objects stored by webapps
Throws:
StorageLocationOpenException

getNumberOfAllClientObjects

public int getNumberOfAllClientObjects()
                                throws StorageLocationOpenException
Specified by:
getNumberOfAllClientObjects in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of all objects stored in securestorage
Throws:
StorageLocationOpenException

getNumberOfEncryptedObjects

public int getNumberOfEncryptedObjects()
                                throws SecureStorageException
Specified by:
getNumberOfEncryptedObjects in interface RemoteSecureStorageAdministratorContextInterface
Returns:
Number of all unencrypted objects in Secure Storage
Throws:
SecureStorageException

getNumberOfEncodedObjects

public int getNumberOfEncodedObjects()
                              throws SecureStorageException
Specified by:
getNumberOfEncodedObjects in interface RemoteSecureStorageAdministratorContextInterface
Returns:
Number of encoded Objects
Throws:
SecureStorageException

getEncryptionRate

public int getEncryptionRate()
                      throws SecureStorageException
Specified by:
getEncryptionRate in interface RemoteSecureStorageAdministratorContextInterface
Throws:
SecureStorageException

getNumberOfServiceKeys

public int getNumberOfServiceKeys()
                           throws StorageLocationOpenException,
                                  KeyStoreAccessException,
                                  NoKeyForClientException
Specified by:
getNumberOfServiceKeys in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of Keys used by services
Throws:
StorageLocationOpenException
KeyStoreAccessException
NoKeyForClientException

getNumberOfWebAppKeys

public int getNumberOfWebAppKeys()
                          throws StorageLocationOpenException,
                                 KeyStoreAccessException,
                                 NoKeyForClientException
Specified by:
getNumberOfWebAppKeys in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of all Keys used by WebApp clients
Throws:
StorageLocationOpenException
KeyStoreAccessException
NoKeyForClientException

getNumberOfKeys

public int getNumberOfKeys()
                    throws StorageLocationOpenException,
                           KeyStoreAccessException,
                           NoKeyForClientException
Specified by:
getNumberOfKeys in interface RemoteSecureStorageAdministratorContextInterface
Returns:
number of all keys
Throws:
StorageLocationOpenException
KeyStoreAccessException
NoKeyForClientException

isCryptoLibDepolyed

public boolean isCryptoLibDepolyed()
Specified by:
isCryptoLibDepolyed in interface RemoteSecureStorageAdministratorContextInterface


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.