Author: elecharny
Date: Tue Apr 17 12:15:06 2007
New Revision: 529719
URL: http://svn.apache.org/viewvc?view=rev&rev=529719
Log:
Added some constants for security (SHA, MD5, etc...)
Added:
directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/LdapSecurityConstants.java
Added: directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/LdapSecurityConstants.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/LdapSecurityConstants.java?view=auto&rev=529719
==============================================================================
--- directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/LdapSecurityConstants.java
(added)
+++ directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/LdapSecurityConstants.java
Tue Apr 17 12:15:06 2007
@@ -0,0 +1,39 @@
+/*
+ * 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 class to store all the security constants used in the server
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev:$
+ */
+public class LdapSecurityConstants
+{
+ public static final String HASH_METHOD_SHA = "sha";
+
+ public static final String HASH_METHOD_SSHA = "ssha";
+
+ public static final String HASH_METHOD_MD5 = "md5";
+
+ public static final String HASH_METHOD_SMD5 = "smd5";
+
+ public static final String HASH_METHOD_CRYPT = "crypt";
+}
|