2014-03-17 00:47:33 +01:00
|
|
|
|
|
|
|
#############################
|
|
|
|
# Global parameters #
|
|
|
|
#############################
|
|
|
|
_global:
|
|
|
|
configuration:
|
|
|
|
authenticate:
|
|
|
|
- api
|
|
|
|
authenticator:
|
|
|
|
default:
|
2014-03-20 21:19:30 +01:00
|
|
|
vendor: ldap
|
2014-03-17 00:47:33 +01:00
|
|
|
help: Admin Password
|
|
|
|
parameters:
|
|
|
|
uri: ldap://localhost:389
|
2014-03-20 21:19:30 +01:00
|
|
|
base_dn: dc=yunohost,dc=org
|
|
|
|
user_rdn: cn=admin
|
2014-03-17 00:47:33 +01:00
|
|
|
ldap-anonymous:
|
2014-03-20 21:19:30 +01:00
|
|
|
vendor: ldap
|
2014-03-17 00:47:33 +01:00
|
|
|
parameters:
|
|
|
|
uri: ldap://localhost:389
|
2014-03-20 21:19:30 +01:00
|
|
|
base_dn: dc=yunohost,dc=org
|
2014-03-22 17:01:30 +01:00
|
|
|
test-profile:
|
|
|
|
vendor: ldap
|
|
|
|
help: Admin Password (profile)
|
|
|
|
parameters:
|
|
|
|
uri: ldap://localhost:389
|
|
|
|
base_dn: dc=yunohost,dc=org
|
|
|
|
user_rdn: cn=admin
|
2014-03-17 00:47:33 +01:00
|
|
|
argument_auth: true
|
2014-12-29 18:27:13 +01:00
|
|
|
lock: false
|
2014-03-17 00:47:33 +01:00
|
|
|
|
|
|
|
#############################
|
|
|
|
# Test Actions #
|
|
|
|
#############################
|
|
|
|
test:
|
|
|
|
actions:
|
|
|
|
non-auth:
|
|
|
|
api: GET /test/non-auth
|
|
|
|
configuration:
|
|
|
|
authenticate: false
|
|
|
|
auth:
|
|
|
|
api: GET /test/auth
|
|
|
|
configuration:
|
|
|
|
authenticate: all
|
2014-03-22 17:01:30 +01:00
|
|
|
auth-profile:
|
|
|
|
api: GET /test/auth-profile
|
|
|
|
configuration:
|
|
|
|
authenticate: all
|
|
|
|
authenticator: test-profile
|
2014-03-17 00:47:33 +01:00
|
|
|
auth-cli:
|
|
|
|
api: GET /test/auth-cli
|
|
|
|
configuration:
|
|
|
|
authenticate:
|
|
|
|
- cli
|
|
|
|
anonymous:
|
|
|
|
api: GET /test/anon
|
|
|
|
configuration:
|
|
|
|
authenticate: all
|
|
|
|
authenticator: ldap-anonymous
|
|
|
|
argument_auth: false
|