directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r763023 - /directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Tue, 07 Apr 2009 22:51:41 GMT
Author: elecharny
Date: Tue Apr  7 22:51:40 2009
New Revision: 763023

URL: http://svn.apache.org/viewvc?rev=763023&view=rev
Log:
Added the ChangePWD and ApacheDHCP banners

Modified:
    directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java

Modified: directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
URL: http://svn.apache.org/viewvc/directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=763023&r1=763022&r2=763023&view=diff
==============================================================================
--- directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
(original)
+++ directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Tue Apr  7 22:51:40 2009
@@ -370,7 +370,25 @@
         + "       /_/   \\_\\ .__/ \\__,_|\\___|_| |_|\\___|____/|_|\\__|____/   \n"
         + "               |_|                                              \n";
 
-
+    
+    public static final String BANNER_DHCP =
+          "           _                     _          ____  _   _  ___ ____  \n"
+        + "          / \\   _ __    ___  ___| |__   ___|  _ \\| | | |/ __|  _ \\ \n"
+        + "         / _ \\ | '_ \\ / _` |/ __| '_ \\ / _ \\ | | | |_| / /  | |_) )\n"
+        + "        / ___ \\| |_) | (_| | (__| | | |  __/ |_| |  _  \\ \\__|  __/ \n"
+        + "       /_/   \\_\\ .__/ \\__,_|\\___|_| |_|\\___|____/|_| |_|\\___|_|    \n"
+        + "               |_|                                                 \n";
+        
+
+    public static final String BANNER_CHANGE_PWD =
+          "         ___                              ___ __  __ __  ______    \n"
+        + "        / __|_       ___ _ __   ____  ___|  _ \\ \\ \\ / / / |  _ \\   \n"
+        + "       / /  | |__  / _` | '  \\ / ___\\/ _ \\ |_) \\ \\ / /\\/ /| | | |  \n"
+        + "       \\ \\__| '_  \\ (_| | |\\  | |___ | __/  __/ \\ ' /   / | |_| |  \n"
+        + "        \\___|_| |_|\\__,_|_| |_|\\__. |\\___| |     \\_/ \\_/  |____/   \n"
+        + "                                  |_|    |_|                       \n";
+        
+    
     /**
      * Print the LDAP banner
      */
@@ -405,4 +423,22 @@
     {
         System.out.println( BANNER_DNS );
     }
+
+
+    /**
+     * Print the DHCP banner
+     */
+    public static void printBannerDHCP()
+    {
+        System.out.println( BANNER_DHCP );
+    }
+
+
+    /**
+     * Print the CHANGE_PWD banner
+     */
+    public static void printBannerChangePwd()
+    {
+        System.out.println( BANNER_CHANGE_PWD );
+    }
 }



Mime
View raw message