public class ServerKeyManagerFactory extends Object
| Constructor and Description |
|---|
ServerKeyManagerFactory(org.adorsys.encobject.filesystem.FsPersistenceFactory persFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.adorsys.jjwk.serverkey.ServerKeyManager |
build()
Read the masterId and master password from environment properties.
|
public ServerKeyManagerFactory(org.adorsys.encobject.filesystem.FsPersistenceFactory persFactory)
public org.adorsys.jjwk.serverkey.ServerKeyManager build()
If this information is not available, we will generate it and store it a a common location where all server can read.
In order for the server to be restarted, we will need those information either as part of the environment properties, or available on a dedicated file system.
Copyright © 2017. All rights reserved.