summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-06-12 19:59:32 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-06-12 19:59:32 +0200
commit2a324c450839410293c5d5e2c56dc291b4a98634 (patch)
tree5933f63473dca9b02765dd5e9b39a972f12c6a4a /src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java
parent14e2fe28c2b7ecaae53a10d1aa7aa4b921b6efbc (diff)
Refactored LDAP into its own module.
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java')
-rw-r--r--src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java b/src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java
deleted file mode 100644
index 1e9f971..0000000
--- a/src/main/java/com/c2kernel/lookup/ldap/LDAPProperties.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Directory Lookup Service
-*/
-
-package com.c2kernel.lookup.ldap;
-
-import com.c2kernel.utils.ObjectProperties;
-
-/**
- * @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 Integer mPort = null;
- public String mHost = null;
- public String mUser = null;
- public String mPassword = null;
-
- public LDAPProperties(ObjectProperties obj)
- {
- mGlobalPath = obj.getProperty( "LDAP.GlobalPath" );
- mRootPath = obj.getProperty( "LDAP.RootPath" );
- mLocalPath = obj.getProperty( "LDAP.LocalPath" );
- mPort = obj.getInt( "LDAP.port", 389 );
- mHost = obj.getProperty( "LDAP.host" );
- mUser = obj.getProperty( "LDAP.user" );
- mPassword = obj.getProperty( "LDAP.password" );
-
- mRootPath += "," + mGlobalPath;
- mLocalPath += "," + mRootPath;
-
- }
-}
-