idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "AFS account Florian Huebner" <huebner AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r323 - trunk/java/ch/idok/service/server/admin
- Date: Fri, 13 Feb 2009 09:18:38 +0100
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner
Date: Fri Feb 13 09:18:37 2009
New Revision: 323
Log:
Fixed the constructor
Modified:
trunk/java/ch/idok/service/server/admin/DmsLdap.java
Modified: trunk/java/ch/idok/service/server/admin/DmsLdap.java
==============================================================================
--- trunk/java/ch/idok/service/server/admin/DmsLdap.java (original)
+++ trunk/java/ch/idok/service/server/admin/DmsLdap.java Fri Feb 13
09:18:37 2009
@@ -42,9 +42,9 @@
public class DmsLdap {
private static final String ldapURL_ = "ldaps://d.psi.ch/";
- private static final String adminDN;
+ private static String adminDN;
- private static final String adminPassword;
+ private static String adminPassword;
private static final String groupBaseDN = "OU=Distribution
Lists,OU=Recipients,OU=DMS,OU=Services,OU=PSI,DC=d,DC=psi,DC=ch";
@@ -53,7 +53,7 @@
private LdapActiveDirectory ad_;
// Initialize ldap admin credentials from system properties
- static {
+ public DmsLdap(){
adminDN = System.getProperty("ch.idok.ldapBindDN");
if (adminDN == null)
throw new ExceptionInInitializerError(
- [idok-commit] idok commit r323 - trunk/java/ch/idok/service/server/admin, AFS account Florian Huebner, 02/13/2009
Archive powered by MHonArc 2.6.19.