diff options
Diffstat (limited to 'src/YalpAuth/YalpPGSqlAuth')
| -rw-r--r-- | src/YalpAuth/YalpPGSqlAuth/DatabaseDefines.java | 130 | ||||
| -rw-r--r-- | src/YalpAuth/YalpPGSqlAuth/YalpPGSqlAuth.java | 66 |
2 files changed, 98 insertions, 98 deletions
diff --git a/src/YalpAuth/YalpPGSqlAuth/DatabaseDefines.java b/src/YalpAuth/YalpPGSqlAuth/DatabaseDefines.java index 70c00d7..5ff92c7 100644 --- a/src/YalpAuth/YalpPGSqlAuth/DatabaseDefines.java +++ b/src/YalpAuth/YalpPGSqlAuth/DatabaseDefines.java @@ -1,65 +1,65 @@ -/* - * Copyright (c) 2006 Manuel Traut and Volker Dahnke - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: Manuel Traut and Volker Dahnke - */ -package YalpAuth.YalpPGSqlAuth; - -/* - * Class DatabaseDefines - * - * <em></em> - * - * @author Manuel Traut - * - * @version 0.1 28-08-2008<br> - * - */ - -public class DatabaseDefines { - - public String dbConnection="jdbc:postgresql://10.0.3.20:5432/yalp_user"; - public String dbUser="yalp"; - public String dbPasswd="huhu"; - -/* - * set string for dbConnection - * @param dbConnection - * "jdbc:postgresql://<serverIP>:<portOfDB>/<dataBaseName>"; - */ - public void setDBConnection(String dbConnection){ - this.dbConnection = dbConnection; - } - -/* - * set userName for db Edit - * @param dbUser - */ - public void setDBUser(String dbUser){ - this.dbUser = dbUser; - } - -/* - * set string for db Password - * @param DBPasswd - */ - public void setDBPasswd(String DBPasswd){ - this.dbPasswd = DBPasswd; - } - - public String getDBConnection(){ - return this.dbConnection; - } - - public String getDBUser(){ - return this.dbUser; - } - - public String getDBPasswd(){ - return this.dbPasswd; - } -} +/*
+ * Copyright (c) 2006 Manuel Traut and Volker Dahnke
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors: Manuel Traut and Volker Dahnke
+ */
+package YalpAuth.YalpPGSqlAuth;
+
+/*
+ * Class DatabaseDefines
+ *
+ * <em></em>
+ *
+ * @author Manuel Traut
+ *
+ * @version 0.1 28-08-2008<br>
+ *
+ */
+
+public class DatabaseDefines {
+
+ public String dbConnection="jdbc:postgresql://10.0.3.20:5432/yalp_user";
+ public String dbUser="yalp";
+ public String dbPasswd="huhu";
+
+/*
+ * set string for dbConnection
+ * @param dbConnection
+ * "jdbc:postgresql://<serverIP>:<portOfDB>/<dataBaseName>";
+ */
+ public void setDBConnection(String dbConnection){
+ this.dbConnection = dbConnection;
+ }
+
+/*
+ * set userName for db Edit
+ * @param dbUser
+ */
+ public void setDBUser(String dbUser){
+ this.dbUser = dbUser;
+ }
+
+/*
+ * set string for db Password
+ * @param DBPasswd
+ */
+ public void setDBPasswd(String DBPasswd){
+ this.dbPasswd = DBPasswd;
+ }
+
+ public String getDBConnection(){
+ return this.dbConnection;
+ }
+
+ public String getDBUser(){
+ return this.dbUser;
+ }
+
+ public String getDBPasswd(){
+ return this.dbPasswd;
+ }
+}
diff --git a/src/YalpAuth/YalpPGSqlAuth/YalpPGSqlAuth.java b/src/YalpAuth/YalpPGSqlAuth/YalpPGSqlAuth.java index 676fe3c..1668684 100644 --- a/src/YalpAuth/YalpPGSqlAuth/YalpPGSqlAuth.java +++ b/src/YalpAuth/YalpPGSqlAuth/YalpPGSqlAuth.java @@ -1,33 +1,33 @@ -/* - * Copyright (c) 2006 Manuel Traut and Volker Dahnke - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: Manuel Traut and Volker Dahnke - */ -package YalpAuth.YalpPGSqlAuth; - -import YalpInterfaces.*; - -/* - * Class YalpPGSqlAuth - * - * <em>Implements functionality of the DBConnectionInterface</em> - * - * @author Volker Dahnke / Manuel Traut - * - * @version 1 02-04-2006<br> - */ - -public class YalpPGSqlAuth { - private YalpAuthInterfaceImpl con; - private DatabaseDefines config; - - public static void main(String[] args) - { - System.out.println("YalpPGSqlAuth\n"); - PGSqlAuth auth = new PGSqlAuth(args); - } -} +/*
+ * Copyright (c) 2006 Manuel Traut and Volker Dahnke
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors: Manuel Traut and Volker Dahnke
+ */
+package YalpAuth.YalpPGSqlAuth;
+
+import YalpInterfaces.*;
+
+/*
+ * Class YalpPGSqlAuth
+ *
+ * <em>Implements functionality of the DBConnectionInterface</em>
+ *
+ * @author Volker Dahnke / Manuel Traut
+ *
+ * @version 1 02-04-2006<br>
+ */
+
+public class YalpPGSqlAuth {
+ private YalpAuthPluginImpl con;
+ private DatabaseDefines config;
+
+ public static void main(String[] args)
+ {
+ System.out.println("YalpPGSqlAuth\n");
+ PGSqlAuth auth = new PGSqlAuth(args);
+ }
+}
|
