Search in sources :

Example 1 with SafeGuidGenerator

use of com.adaptris.util.SafeGuidGenerator in project interlok by adaptris.

the class Config method newKeystore.

public KeystoreLocation newKeystore(String cn) throws Exception {
    String uniqueName = new SafeGuidGenerator().safeUUID();
    String keystoreUrl = String.format("file:///%s/%s?keystoreType=jks", config.getProperty(CFG_ROOT), uniqueName);
    return buildKeystore(keystoreUrl, cn, false);
}
Also used : SafeGuidGenerator(com.adaptris.util.SafeGuidGenerator)

Aggregations

SafeGuidGenerator (com.adaptris.util.SafeGuidGenerator)1