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-17 00:47:33 +01:00
|
|
|
argument_auth: true
|
|
|
|
|
|
|
|
#############################
|
|
|
|
# Test Actions #
|
|
|
|
#############################
|
|
|
|
test:
|
|
|
|
actions:
|
|
|
|
non-auth:
|
|
|
|
api: GET /test/non-auth
|
|
|
|
configuration:
|
|
|
|
authenticate: false
|
|
|
|
auth:
|
|
|
|
api: GET /test/auth
|
|
|
|
configuration:
|
|
|
|
authenticate: all
|
|
|
|
auth-cli:
|
|
|
|
api: GET /test/auth-cli
|
|
|
|
configuration:
|
|
|
|
authenticate:
|
|
|
|
- cli
|
|
|
|
anonymous:
|
|
|
|
api: GET /test/anon
|
|
|
|
configuration:
|
|
|
|
authenticate: all
|
|
|
|
authenticator: ldap-anonymous
|
|
|
|
argument_auth: false
|