{
  "realm": "photoz",
  "auth-server-url": "http://localhost:8180/auth",
  "ssl-required": "external",
  "resource": "photoz-restful-api",
  "bearer-only" : true,
  "credentials": {
    "secret": "secret"
  },
  "policy-enforcer": {
    "enforcement-mode": "PERMISSIVE",
    "user-managed-access": {},
    "paths": [
      {
        "name" : "Album Resource",
        "path" : "/album/{id}",
        "methods" : [
          {
            "method": "DELETE",
            "scopes" : ["album:delete"]
          },
          {
            "method": "GET",
            "scopes" : ["album:view"]
          }
        ]
      },
      {
        "name" : "Album Resource",
        "path" : "/album/shares",
        "enforcement-mode": "DISABLED"
      },
      {
        "path" : "/profile"
      },
      {
        "name" : "Admin Resources",
        "path" : "/admin/*"
      }
    ]
  }
}