Package com.sun.identity.setup
Class AMSetupDSConfig
- java.lang.Object
-
- com.sun.identity.setup.AMSetupDSConfig
-
public class AMSetupDSConfig extends Object
This class does Directory Server related tasks for OpenAM deployed as single web application.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconnectDSwithDN(boolean ssl)Check if Directory Server has the suffix.static AMSetupDSConfiggetInstance()Returns a single instance if not already created.voidloadSchemaFiles(List schemaFiles)Loads the schema files into the directory Server.voidsetDSValues()Set the values required for Service Schema files.voidsetLocale(Locale locale)
-
-
-
Method Detail
-
getInstance
public static AMSetupDSConfig getInstance()
Returns a single instance if not already created.- Returns:
- AMSetupDSConfig instance.
-
setLocale
public void setLocale(Locale locale)
-
setDSValues
public void setDSValues()
Set the values required for Service Schema files.
-
connectDSwithDN
public boolean connectDSwithDN(boolean ssl)
Check if Directory Server has the suffix.- Parameters:
ssl-trueif directory server is running on LDAPS.- Returns:
trueif specified suffix exists.
-
loadSchemaFiles
public void loadSchemaFiles(List schemaFiles) throws ConfiguratorException
Loads the schema files into the directory Server.- Parameters:
schemaFiles- Array of schema files to load.- Throws:
ConfiguratorException- if unable to load schema.
-
-