fix list of pac-domains
This commit is contained in:
parent
9493c780f4
commit
5dae0e3353
@ -123,7 +123,10 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
|||||||
final List<?> pacsList = pacsQuery.getResultList();
|
final List<?> pacsList = pacsQuery.getResultList();
|
||||||
for (final Object obj : pacsList) {
|
for (final Object obj : pacsList) {
|
||||||
if (obj instanceof Pac) {
|
if (obj instanceof Pac) {
|
||||||
domsNames.add(((Pac) obj).getName() + ".hostsharing.net");
|
final Pac p = (Pac) obj;
|
||||||
|
if ("PAC/WEB".equals(p.getBasepac().getName())) {
|
||||||
|
domsNames.add(p.getName() + ".hostsharing.net");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();
|
final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();
|
||||||
|
@ -169,7 +169,10 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
final List<?> pacsList = pacsQuery.getResultList();
|
final List<?> pacsList = pacsQuery.getResultList();
|
||||||
for (final Object obj : pacsList) {
|
for (final Object obj : pacsList) {
|
||||||
if (obj instanceof Pac) {
|
if (obj instanceof Pac) {
|
||||||
domsNames.add(((Pac) obj).getName() + ".hostsharing.net");
|
final Pac p = (Pac) obj;
|
||||||
|
if ("PAC/WEB".equals(p.getBasepac().getName())) {
|
||||||
|
domsNames.add(p.getName() + ".hostsharing.net");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();
|
final Map<String, Object> namedZonesTemplateVars = new HashMap<String, Object>();
|
||||||
|
Loading…
Reference in New Issue
Block a user