Skip to content

Commit

Permalink
#300 Updated sample project with mlSecurityUsername
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Jan 26, 2018
1 parent 79c3762 commit edd262f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/sample-project/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "com.marklogic:ml-gradle:3.0.0"
classpath "com.marklogic:ml-gradle:3.4.0"
}
}

Expand Down
14 changes: 8 additions & 6 deletions examples/sample-project/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,22 @@ mlRestAdminPassword=password


# If specified, the manage username/password combo is used with the ML Management REST API for managing application
# resources; this user must have the manage-admin and rest-admin roles.
# resources; this user must have the manage-admin and rest-admin roles, along with the "security" role if
# mlSecurityUsername is not specified below.
#
# If these are not set, then mlUsername/mlPassword is used for managing application resources.
mlManageUsername=sample-project-manager
mlManagePassword=password


# If specified, the admin username/password combo is used for operations that require connecting to the Admin server
# on port 8001. In addition, as of version 3.2.1, this username/password combo is also used for operations on the
# Manage server on port 8002 that require the "security" role. This may be modified in a future version of ml-gradle.
# Starting with 3.4.0, mlSecurityUsername should be set when the value of mlManageUsername is either not a user with
# the "security" role or is a user defined within the project, in which case some existing ML user is needed to create
# the user. See https://github.com/marklogic-community/ml-gradle/wiki/Configuring-different-users-for-different-jobs
# for more information.
#
# If these properties are not set, then mlUsername/mlPassword will be used.
mlAdminUsername=admin
mlAdminPassword=admin
mlSecurityUsername=admin
mlSecurityPassword=admin


# Configuring the number of forests for the content database (and optional test database) is a common requirement, and
Expand Down

0 comments on commit edd262f

Please sign in to comment.