|
@@ -4330,8 +4330,11 @@ class CEnvironmentClusterInfo: public CInterface, implements IConstWUClusterInfo
|
|
|
StringArray thorProcesses;
|
|
|
StringArray primaryThorProcesses;
|
|
|
StringAttr prefix;
|
|
|
+ StringAttr ldapUser;
|
|
|
+ StringBuffer ldapPassword;
|
|
|
ClusterType platform;
|
|
|
unsigned clusterWidth;
|
|
|
+
|
|
|
public:
|
|
|
IMPLEMENT_IINTERFACE;
|
|
|
CEnvironmentClusterInfo(const char *_name, const char *_prefix, IPropertyTree *agent, IArrayOf<IPropertyTree> &thors, IPropertyTree *roxie)
|
|
@@ -4375,6 +4378,10 @@ public:
|
|
|
clusterWidth = roxie->getPropInt("@numChannels", 1);
|
|
|
platform = RoxieCluster;
|
|
|
getRoxieProcessServers(roxie, roxieServers);
|
|
|
+ ldapUser.set(roxie->queryProp("@ldapUser"));
|
|
|
+ StringBuffer encPassword = roxie->queryProp("@ldapPassword");
|
|
|
+ if (encPassword.length())
|
|
|
+ decrypt(ldapPassword, encPassword);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -4443,6 +4450,14 @@ public:
|
|
|
{
|
|
|
return roxieServers;
|
|
|
}
|
|
|
+ const char *getLdapUser() const
|
|
|
+ {
|
|
|
+ return ldapUser.get();
|
|
|
+ }
|
|
|
+ virtual const char *getLdapPassword() const
|
|
|
+ {
|
|
|
+ return ldapPassword.str();
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
IStringVal &getProcessQueueNames(IStringVal &ret, const char *process, const char *type, const char *suffix)
|