org.silverpeas.security.web
Class CryptoTestResources
java.lang.Object
com.silverpeas.web.TestResources
org.silverpeas.security.web.CryptoTestResources
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
@Named(value="testRESTResources")
public class CryptoTestResources
- extends TestResources
It wraps all the resources required by the unit tests on the REST-based web services related on
the security.
| Methods inherited from class com.silverpeas.web.TestResources |
aUser, aUserNamed, getAccessControllerMock, getApplicationContext, getOrganizationControllerMock, getPersonalizationServiceMock, getSessionManagerMock, getSpaceAccessControllerMock, getTestResources, getTokenServiceMock, registerUser, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRYPTO_WEB_PACKAGE
public static final String CRYPTO_WEB_PACKAGE
- The name of the Java package in which are defined the REST-based web service for the
cryptographic functions.
SPRING_CONTEXT
public static final String SPRING_CONTEXT
- The configuration file from which the Spring context must be bootstrapped.
- See Also:
- Constant Field Values
ACTUAL_KEY_FILE_PATH
public static final String ACTUAL_KEY_FILE_PATH
- The path of the file storing the actual cipher key.
OLD_KEY_FILE_PATH
public static final String OLD_KEY_FILE_PATH
- The path of the file storing the old cipher key.
messages
public static final ResourceLocator messages
CryptoTestResources
public CryptoTestResources()
generateCipherKeyFile
public static void generateCipherKeyFile()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.