|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.security.SecurityHelper
public class SecurityHelper
Helper class for security related topics
| Constructor Summary | |
|---|---|
SecurityHelper()
|
|
| Method Summary | |
|---|---|
static void |
deleteUserFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
Delete a user and password from a file |
static AuthenticationInfo |
loadAuthenticationInformation()
Loads Authentication and Encryption parameters from default location for service.properties file |
static AuthenticationInfo |
loadAuthenticationInformation(java.lang.String propertiesFileLocation)
Loads Authentication and Encryption parameters from service.properties file |
static AuthenticationInfo |
loadAuthenticationInformation(java.lang.String propertiesFileLocation,
boolean doConsistencyChecks)
|
static TungstenProperties |
loadPasswordsFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
Loads passwords from a TungstenProperties from a .properties file |
static void |
saveCredentialsFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
Save passwords from a TungstenProperties into a file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityHelper()
| Method Detail |
|---|
public static void saveCredentialsFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
throws ServerRuntimeException
authenticationInfo - containing password file location
ServerRuntimeException
public static void deleteUserFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
throws ServerRuntimeException
authenticationInfo - containing password file location
ServerRuntimeException
public static TungstenProperties loadPasswordsFromAuthenticationInfo(AuthenticationInfo authenticationInfo)
throws ServerRuntimeException
ServerRuntimeException
public static AuthenticationInfo loadAuthenticationInformation()
throws ConfigurationException
ConfigurationException
public static AuthenticationInfo loadAuthenticationInformation(java.lang.String propertiesFileLocation)
throws ConfigurationException
propertiesFileLocation - Location of the security.properties file.
If set to null, will try to locate default file.authUsage -
ConfigurationException
ReplicatorException
public static AuthenticationInfo loadAuthenticationInformation(java.lang.String propertiesFileLocation,
boolean doConsistencyChecks)
throws ConfigurationException
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||