diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2012-05-30 08:37:45 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2012-05-30 08:37:45 +0200 |
| commit | b086f57f56bf0eb9dab9cf321a0f69aaaae84347 (patch) | |
| tree | 8e6e26e8b7eed6abad7a17b093bdbb55c5e6b1ba /src/main/java/com/c2kernel/lookup/LDAPProperties.java | |
| parent | 22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff) | |
Initial Maven Conversion
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/LDAPProperties.java')
| -rw-r--r-- | src/main/java/com/c2kernel/lookup/LDAPProperties.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/java/com/c2kernel/lookup/LDAPProperties.java b/src/main/java/com/c2kernel/lookup/LDAPProperties.java new file mode 100644 index 0000000..e884a54 --- /dev/null +++ b/src/main/java/com/c2kernel/lookup/LDAPProperties.java @@ -0,0 +1,38 @@ +/*
+ * Directory Lookup Service
+*/
+
+package com.c2kernel.lookup;
+
+import com.c2kernel.process.Gateway;
+
+/**
+ * @version $Revision: 1.16 $ $Date: 2005/10/12 12:51:54 $
+ * @author $Author: abranson $
+ */
+public class LDAPProperties
+{
+ public String mGlobalPath = null; //o=cern.ch
+ public String mRootPath = null; //cn=cristal2
+ public String mLocalPath = null; //cn=lab27
+ public String mPort = null;
+ public String mHost = null;
+ public String mUser = null;
+ public String mPassword = null;
+
+ public LDAPProperties()
+ {
+ mGlobalPath = Gateway.getProperty( "LDAP.GlobalPath" );
+ mRootPath = Gateway.getProperty( "LDAP.RootPath" );
+ mLocalPath = Gateway.getProperty( "LDAP.LocalPath" );
+ mPort = Gateway.getProperty( "LDAP.port" );
+ mHost = Gateway.getProperty( "LDAP.host" );
+ mUser = Gateway.getProperty( "LDAP.user" );
+ mPassword = Gateway.getProperty( "LDAP.password" );
+
+ mRootPath += "," + mGlobalPath;
+ mLocalPath += "," + mRootPath;
+
+ }
+}
+
|
