public class Bootstrap extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JVM_OPT_BOOTSTRAP
Directory where bootstrap file resides.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
bootstrap(BootstrapData bootstrapInfo,
boolean reinit)
Returns
true if able to bootstrap the system. |
static void |
load()
Loads System Property with the bootstrap file that is
found in
JVM_OPT_BOOTSTRAP stated directory. |
static Properties |
load(String basedir,
boolean bServer)
Loads System Property with the bootstrap file that is
found in a directory.
|
static void |
modifyDSAMEUserPassword(String password)
Modifies the
dsameuser password in bootstrap file. |
public static final String JVM_OPT_BOOTSTRAP
public static void load() throws Exception
JVM_OPT_BOOTSTRAP
stated directory.Exception
- if properties cannot be loaded.public static Properties load(String basedir, boolean bServer) throws Exception
basedir
- Directory where bootstrap file resides.
bootstrap file can contain either an URL where
we can go fetch the server configuration properties
or a file that contains the properties.bServer
- true
if server.Exception
- if properties cannot be loaded.public static boolean bootstrap(BootstrapData bootstrapInfo, boolean reinit) throws Exception
true
if able to bootstrap the system.bootstrapInfo
- object that contains information on how to
fetch the server configuration properties.reinit
- true
to re initialize the system.Exception
- if there are errors in bootstrapping.public static void modifyDSAMEUserPassword(String password) throws IOException
dsameuser
password in bootstrap file.password
- New Password.IOException
- if modification fails.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.