diff options
author | Simon Rettberg | 2015-01-23 19:19:58 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-01-23 19:19:58 +0100 |
commit | 2eb5cea8578c2884c6f30fa379212bbfc1554bed (patch) | |
tree | 12d4eb781782e07e41b084444a2185a978e90c98 /src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java | |
parent | Pimp my boot menu (diff) | |
download | tmlite-bwlp-2eb5cea8578c2884c6f30fa379212bbfc1554bed.tar.gz tmlite-bwlp-2eb5cea8578c2884c6f30fa379212bbfc1554bed.tar.xz tmlite-bwlp-2eb5cea8578c2884c6f30fa379212bbfc1554bed.zip |
Stuff
Diffstat (limited to 'src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java')
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java b/src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java index 67d6099..c74b9dc 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java +++ b/src/main/java/org/openslx/taskmanager/tasks/CreateAdConfig.java @@ -43,12 +43,14 @@ public class CreateAdConfig extends AbstractTask { // TODO: Check path is allowed this.setStatusObject( this.status ); - if ( filename == null || server == null || searchbase == null || binddn == null || bindpw == null || proxyip == null || proxyport == 0 || moduleid == 0 ) { + if ( filename == null || server == null || searchbase == null || binddn == null || proxyip == null || proxyport == 0 || moduleid == 0 ) { status.error = "Missing argument to task"; return false; } if ( this.home == null ) this.home = ""; + if ( this.bindpw == null ) + this.bindpw = ""; return true; } |