directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r534499 - /directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java
Date Wed, 02 May 2007 14:56:50 GMT
Author: elecharny
Date: Wed May  2 07:56:49 2007
New Revision: 534499

URL: http://svn.apache.org/viewvc?view=rev&rev=534499
Log:
Created this class so we can declare static DN being used into the server
in a specific place, instead of using static Strings all over the code

Added:
    directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java

Added: directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java?view=auto&rev=534499
==============================================================================
--- directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java
(added)
+++ directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ServerDNConstants.java
Wed May  2 07:56:49 2007
@@ -0,0 +1,32 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.shared.ldap.constants;
+
+/**
+ * A utility class where we declare all the statically defined DN used in the server.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev:$
+ */
+public class ServerDNConstants 
+{
+	public static final String ADMINISTRATORS_GROUP_DN = "cn=Administrators,ou=groups,ou=system";
+
+}



Mime
View raw message