From 11b58e4007a04381f88d98548148a69855a53321 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Sat, 21 May 2011 13:32:01 +0000 Subject: [PATCH] web.xml vervollstaendigt --- hsarback/conf/WEB-INF/web.xml | 166 ++++++++++-------- .../de/hsadmin/mods/email/EMailAddress.java | 4 +- 2 files changed, 90 insertions(+), 80 deletions(-) diff --git a/hsarback/conf/WEB-INF/web.xml b/hsarback/conf/WEB-INF/web.xml index 36b08cf..d9b1781 100644 --- a/hsarback/conf/WEB-INF/web.xml +++ b/hsarback/conf/WEB-INF/web.xml @@ -24,27 +24,11 @@ proxyServiceUrl https://@CONFIG_HOST@:@CONFIG_PORT@/hsar/backend - - - Components - user,domain,member,contact,bankaccount,emailaddress,emailalias,pac,paccomponent,hive,ipaddr,basepac,basecomponent,component,q - - - ComponentClass_user - de.hsadmin.mods.user.UnixUser - - - ComponentDescription_user - Unix User - ComponentClass_domain - de.hsadmin.mods.dom.Domain - - - ComponentDescription_domain - Domains - + Components + member,pac,user,domain,emailaddress,emailalias,mysqluser,mysqldb,postgresqluser,postgresqldb,q + ComponentClass_member de.hsadmin.mods.cust.Customer @@ -53,38 +37,6 @@ ComponentDescription_member Mitglieder - - ComponentClass_contact - de.hsadmin.mods.cust.Contact - - - ComponentDescription_contact - Kontaktdaten zu Mitgliedern - - - ComponentClass_bankaccount - de.hsadmin.mods.cust.BankAccount - - - ComponentDescription_bankaccount - Bankverbindungen - - - ComponentClass_emailaddress - de.hsadmin.mods.email.EMailAddress - - - ComponentDescription_emailaddress - e-Mail Adressen - - - ComponentClass_emailalias - de.hsadmin.mods.email.EMailAlias - - - ComponentDescription_emailalias - e-Mail Aliases - ComponentClass_pac de.hsadmin.mods.pac.Pac @@ -93,53 +45,69 @@ ComponentDescription_pac Pakete - - ComponentClass_paccomponent - de.hsadmin.mods.pac.PacComponent + + ComponentClass_user + de.hsadmin.mods.user.UnixUser - ComponentDescription_paccomponent - Optionen der Pakete + ComponentDescription_user + Benutzer und Postfaecher anlegen - ComponentClass_hive - de.hsadmin.mods.pac.Hive + ComponentClass_domain + de.hsadmin.mods.dom.Domain - ComponentDescription_hive - Hives + ComponentDescription_domain + Domains aufschalten - ComponentClass_ipaddr - de.hsadmin.mods.pac.INetAddress + ComponentClass_emailaddress + de.hsadmin.mods.email.EMailAddress - ComponentDescription_ipaddr - IP Adressen + ComponentDescription_emailaddress + E-Mail Adressen - ComponentClass_basepac - de.hsadmin.mods.pac.BasePac + ComponentClass_emailalias + de.hsadmin.mods.email.EMailAlias - ComponentDescription_basepac - bestellbare Pakete + ComponentDescription_emailalias + E-Mail Aliases - ComponentClass_basecomponent - de.hsadmin.mods.pac.BaseComponent + ComponentClass_postgresqluser + de.hsadmin.mods.db.PgSqlUser - ComponentDescription_basecomponent - Zusammenstellung bestellbarer Pakete + ComponentDescription_postgresqluser + PostgreSQL DB-Administrator - ComponentClass_component - de.hsadmin.mods.pac.Component + ComponentClass_postgresqldb + de.hsadmin.mods.db.PgSqlDatabase - ComponentDescription_component - bestellbare Optionen + ComponentDescription_postgresqldb + PostgreSQL Datenbank + + + ComponentClass_mysqluser + de.hsadmin.mods.db.MySqlUser + + + ComponentDescription_mysqluser + MySQL DB-Administrator + + + ComponentClass_mysqldb + de.hsadmin.mods.db.MySqlDatabase + + + ComponentDescription_mysqldb + MySQL Datenbank ComponentClass_q @@ -147,7 +115,7 @@ ComponentDescription_q - offene Aktionen + Offene Aktionen 1 @@ -219,6 +187,30 @@ Container Shareable + + jms/hsadminSystem-h06 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h07 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h08 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h09 + javax.jms.Queue + Container + Shareable + jms/hsadminSystem-h50 javax.jms.Queue @@ -250,7 +242,25 @@ Shareable - jms/hsadminSystem-h90 + jms/hsadminSystem-h55 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h56 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h57 + javax.jms.Queue + Container + Shareable + + + jms/hsadminSystem-h58 javax.jms.Queue Container Shareable diff --git a/hsarback/src/de/hsadmin/mods/email/EMailAddress.java b/hsarback/src/de/hsadmin/mods/email/EMailAddress.java index 03bdeb9..5c3cd0c 100644 --- a/hsarback/src/de/hsadmin/mods/email/EMailAddress.java +++ b/hsarback/src/de/hsadmin/mods/email/EMailAddress.java @@ -77,8 +77,8 @@ public class EMailAddress extends AbstractEntity implements Serializable { } String[] doms = parts[1].split("\\."); StringBuilder query = new StringBuilder("obj.localpart='" + parts[0] - + "' AND ( ( (obj.subdomain IS NULL OR obj.subdomain='') AND obj.domain.name='" + parts[1] - + "' )"); + + "' AND ( ( (obj.subdomain IS NULL OR obj.subdomain='') AND obj.domain.name='" + + parts[1] + "' )"); for (int subdomLevel = 1; subdomLevel < doms.length - 1; ++subdomLevel) { String subdom = ""; for (int n = 0; n < subdomLevel; ++n)