allow empty subdomain list

This commit is contained in:
Peter Hormanns 2017-06-26 15:47:01 +02:00
parent c888350841
commit d82222c877

View File

@ -62,7 +62,7 @@ public class Domain extends AbstractEntity {
inverseJoinColumns={@JoinColumn(name="domain_option_id", referencedColumnName="domain_option_id")})
private Set<DomainOption> domainoptions;
@AnnFieldIO(validation="([a-z0-9\\-]+\\,)*[a-z0-9\\-]+|\\*", rw=ReadWriteAccess.READWRITE)
@AnnFieldIO(validation="([a-z0-9\\-]+\\,)*[a-z0-9\\-]+|\\*|", rw=ReadWriteAccess.READWRITE)
@Column(name = "valid_subdomain_names", columnDefinition = "character varying(512)")
private String validsubdomainnames;
@ -202,4 +202,5 @@ public class Domain extends AbstractEntity {
}
return aliases.toString();
}
}