Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. // Set this var to undefined if you don't want the server to listen on HTTPS
  2. config.https = {
  3. enabled: false,
  4. cert_file: 'cert/cert.crt',
  5. key_file: 'cert/key.key',
  6. port: 443
  7. };
  8.  
  9. config.account_host = 'http://172.17.0.13:8000';
  10.  
  11. config.keystone_host = 'http://172.17.0.13';
  12. config.keystone_port = 5000;
  13.  
  14. config.app_host = 'http://172.17.0.3';
  15. config.app_port = '1026';
  16. // Use true if the app server listens in https
  17. config.app_ssl = false;
  18.  
  19. // Credentials obtained when registering PEP Proxy in Account Portal
  20. config.username = 'pep_proxy_6598ca58fe1848b3b2b336f1acd33e25';
  21. config.password = '89d040b0d9d247fcbe606f4eae1292b9';
  22.  
  23. // in seconds
  24. config.cache_time = 300;
  25.  
  26. // if enabled PEP checks permissions with AuthZForce GE.
  27. // only compatible with oauth2 tokens engine
  28. //
  29. // you can use custom policy checks by including programatic scripts
  30. // in policies folder. An script template is included there
  31. config.azf = {
  32. enabled: false,
  33. protocol: 'https',
  34. host: 'auth.lab.fiware.org',
  35. port: 6019,
  36. custom_policy: undefined // use undefined to default policy checks (HTTP verb + path).
  37. };
  38.  
  39. // list of paths that will not check authentication/authorization
  40. // example: ['/public/*', '/static/css/']
  41. config.public_paths = [];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement