| | |
| | | if (config.isEnabled()) |
| | | { |
| | | // Load the password storage scheme implementation class. |
| | | String className = config.getSchemeClass(); |
| | | String className = config.getJavaClass(); |
| | | loadAndInstallPasswordStorageScheme (className, config); |
| | | } |
| | | } |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as |
| | | // a password storage scheme. |
| | | String className = configuration.getSchemeClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | // Load the class but don't initialize it. |
| | |
| | | // If the current password storage scheme is already enabled then we |
| | | // don't do anything unless the class has changed in which case we |
| | | // should indicate that administrative action is required. |
| | | String newClassName = configuration.getSchemeClass(); |
| | | String newClassName = configuration.getJavaClass(); |
| | | if (storageScheme != null) |
| | | { |
| | | String curClassName = storageScheme.getClass().getName(); |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as |
| | | // an entry cache. |
| | | String className = configuration.getSchemeClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | // Load the class but don't initialize it. |
| | |
| | | { |
| | | // Instantiate the class as password storage scheme |
| | | // and initialize it. |
| | | String className = configuration.getSchemeClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | loadAndInstallPasswordStorageScheme (className, configuration); |
| | |
| | | passwordStorageScheme; |
| | | |
| | | definition = PasswordStorageSchemeCfgDefn.getInstance(); |
| | | propertyDefinition = definition.getSchemeClassPropertyDefinition(); |
| | | propertyDefinition = definition.getJavaClassPropertyDefinition(); |
| | | schemeClass = propertyDefinition.loadClass( |
| | | className, |
| | | PasswordStorageScheme.class |