public class SystemProperties extends Object
IDPDiscoveryConfig.properties
in
the CLASSPATH accessible to this code.
If multiple servers are running, each may have their own configuration file.
The naming convention for such scenarios is
IDPDiscoveryConfig_serverName
.Constructor and Description |
---|
SystemProperties() |
Modifier and Type | Method and Description |
---|---|
static String |
get(String key)
Returns system property of a given key.
|
static void |
initializeProperties(String fileName)
Initializes the properties.
|
public static void initializeProperties(String fileName) throws FileNotFoundException, IOException
fileName
- name of file containing the properties to be initialized.FileNotFoundException
IOException
public static String get(String key)
key
- the key whose value to be returned.null
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.