Skip to content

Commit

Permalink
Update AddDataSource offline command based on WFLY-18324
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkopecky committed Sep 10, 2024
1 parent 789b143 commit ce08561
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ def dsDefinition = {
}
}
if (nn(userName, password, securityDomain)) {
security {
if (nn(userName)) 'user-name'(userName)
if (nn(password)) 'password'(password)
securityAttrs = [:]
if (nn(userName)) securityAttrs['user-name'] = userName
if (nn(password)) securityAttrs['password'] = password
security(securityAttrs) {
if (nn(securityDomain)) 'security-domain'(securityDomain)
}
}
Expand Down

0 comments on commit ce08561

Please sign in to comment.