Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (92 sloc) 3.66 KB
{
"plugins": {
"authorization": {
"plugin": "mesosphere.marathon.plugin.auth.Authorizer",
"implementation": "io.containx.marathon.plugin.auth.LDAPAuthorizor"
},
"authentication": {
"plugin": "mesosphere.marathon.plugin.auth.Authenticator",
"implementation": "io.containx.marathon.plugin.auth.LDAPAuthenticator",
"configuration": {
"ldap": {
"url": "ldap://my.ldapserver.local:389",
"base": "dc=example,dc=com",
"dn": "uid={username}",
"bindUser": "usernameToBind",
"bindPassword": "passwordToBind",
"userSearch": "(&(uid={username})(objectClass=marathonUser))",
"userSubTree": "ou=People",
"groupSearch": "(&(memberUid={username})(objectClass=posixGroup))",
"groupSubTree": "ou=Group",
"ldapConnectTimeout": 3000,
"ldapReadTimeout": 3000
},
"users": [
{
"username": "someuser",
"password": "somepass",
"groups": [
"Admin"
]
}
],
"authorization": {
"access": [
{
"group": "Admin",
"permissions": [
{
"allowed": "*",
"type" : "app"
},
{
"allowed": "*",
"type" : "resource"
},
{
"allowed": "*",
"type" : "group"
}
]
},
{
"group": "Developers",
"permissions": [
{
"allowed": "view",
"type": "app",
"path": "/"
},
{
"allowed": "view",
"type": "resource",
"path": "/"
},
{
"allowed": "view",
"type": "group",
"path": "/"
},
{
"allowed": "create",
"type": "app",
"path": "/dev"
},
{
"allowed": "update",
"type": "app",
"path": "/dev"
},
{
"allowed": "delete",
"type": "app",
"path": "/dev"
}
]
}
]
}
}
}
}
}
You can’t perform that action at this time.