Class RepoConfigHelper
- java.lang.Object
-
- com.sun.identity.idm.plugins.database.RepoConfigHelper
-
public class RepoConfigHelper extends Object
Copied some methods from com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.java which help to get attributes from the idRepoSevices.xml These help in the initialize method of a plugin Probably these could be moved to a common utility since they help any idRepo plugin process the configuration map built from idRepoSevices.xml attributes sets for a plugin.
-
-
Constructor Summary
Constructors Constructor Description RepoConfigHelper(Debug debug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetPropertyBooleanValue(Map configParams, String key)intgetPropertyIntValue(Map configParams, String key, int defaultValue)StringgetPropertyStringValue(Map configParams, String key)StringgetPropertyStringValue(Map configParams, String key, String defaultVal)MapparsedUserSpecifiedOps(Set userSpecifiedOpsSet)******************************************** parsedUserSpecifiedOps and parseInputedOps methods are copied from LDAPv3Repo.java and changed a bit to be reuseable.SetparseInputedOps(StringTokenizer st, boolean supportService)
-
-
-
Constructor Detail
-
RepoConfigHelper
public RepoConfigHelper(Debug debug)
-
-
Method Detail
-
getPropertyStringValue
public String getPropertyStringValue(Map configParams, String key, String defaultVal)
-
parsedUserSpecifiedOps
public Map parsedUserSpecifiedOps(Set userSpecifiedOpsSet)
******************************************** parsedUserSpecifiedOps and parseInputedOps methods are copied from LDAPv3Repo.java and changed a bit to be reuseable. Changed are: parsedUserSpecifiedOps --changed method to public to make accessible --changed to return a Map supportedOps INSTEAD of operate on a local field --changed debug print out --commented out dead code line Map oldSupportedOps = new HashMap(supportedOps); --commented out some code at the end which was always adding Realm support, since I dont think it is needed parseInputedOps --changed method to public to make accessible --changed debug print out
-
parseInputedOps
public Set parseInputedOps(StringTokenizer st, boolean supportService)
-
-