Make type optional

This commit is contained in:
René Pfeuffer
2018-12-03 16:30:19 +01:00
parent 923cd75ff1
commit 33f3216164
21 changed files with 70 additions and 79 deletions

View File

@@ -90,10 +90,10 @@ public class SecureKeyResolver extends SigningKeyResolverAdapter
@SuppressWarnings("unchecked")
public SecureKeyResolver(ConfigurationEntryStoreFactory storeFactory)
{
store = storeFactory.
forType(SecureKey.class)
.withName(STORE_NAME)
.build();
store = storeFactory
.withName(STORE_NAME)
.withType(SecureKey.class)
.build();
}
//~--- methods --------------------------------------------------------------