public class JsonAuthenticationConfig extends Object implements AuthenticationConfig
AuthenticationConfig.AuthnScheme| Constructor and Description |
|---|
JsonAuthenticationConfig(Reader... configReaders) |
JsonAuthenticationConfig(String... resourceNames)
A resource is expected to be on the classpath and to be ASCII or UTF-8
encoded.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<AuthenticationConfig.AuthnScheme>> |
getIFaceAuthenticationRules() |
Map<String,List<AuthenticationConfig.AuthnScheme>> |
getOperationAuthenticationRules() |
Map<String,List<AuthenticationConfig.AuthnScheme>> |
getPackageAuthenticationRules() |
public JsonAuthenticationConfig(String... resourceNames)
resourceNames - the json authn config resource names. must not be
null.RuntimeException - if the configuration cannot be loaded due to
file reading errors or parsing errorspublic JsonAuthenticationConfig(Reader... configReaders)
configReaders - the readers that will be used to load the file data.
must not be null. It is responsibility of the caller
to close the reader after the constructor returns.RuntimeException - if the configuration cannot be loaded due to
file reading errors or parsing errorspublic Map<String,List<AuthenticationConfig.AuthnScheme>> getPackageAuthenticationRules()
getPackageAuthenticationRules in interface AuthenticationConfigpublic Map<String,List<AuthenticationConfig.AuthnScheme>> getIFaceAuthenticationRules()
getIFaceAuthenticationRules in interface AuthenticationConfigpublic Map<String,List<AuthenticationConfig.AuthnScheme>> getOperationAuthenticationRules()
getOperationAuthenticationRules in interface AuthenticationConfigCopyright © 2023. All rights reserved.