{"action":"closed","issue":{"url":"https://api.github.com/repos/appserver-io/appserver/issues/847","labels_url":"https://api.github.com/repos/appserver-io/appserver/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/appserver-io/appserver/issues/847/comments","events_url":"https://api.github.com/repos/appserver-io/appserver/issues/847/events","html_url":"https://github.com/appserver-io/appserver/issues/847","id":88954883,"number":847,"title":"[appserver-io/http] Webserver based authentication is missing \"realm\"","user":{"login":"wick-ed","id":4931168,"avatar_url":"https://avatars.githubusercontent.com/u/4931168?v=3","gravatar_id":"","url":"https://api.github.com/users/wick-ed","html_url":"https://github.com/wick-ed","followers_url":"https://api.github.com/users/wick-ed/followers","following_url":"https://api.github.com/users/wick-ed/following{/other_user}","gists_url":"https://api.github.com/users/wick-ed/gists{/gist_id}","starred_url":"https://api.github.com/users/wick-ed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wick-ed/subscriptions","organizations_url":"https://api.github.com/users/wick-ed/orgs","repos_url":"https://api.github.com/users/wick-ed/repos","events_url":"https://api.github.com/users/wick-ed/events{/privacy}","received_events_url":"https://api.github.com/users/wick-ed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appserver-io/appserver/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"wick-ed","id":4931168,"avatar_url":"https://avatars.githubusercontent.com/u/4931168?v=3","gravatar_id":"","url":"https://api.github.com/users/wick-ed","html_url":"https://github.com/wick-ed","followers_url":"https://api.github.com/users/wick-ed/followers","following_url":"https://api.github.com/users/wick-ed/following{/other_user}","gists_url":"https://api.github.com/users/wick-ed/gists{/gist_id}","starred_url":"https://api.github.com/users/wick-ed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wick-ed/subscriptions","organizations_url":"https://api.github.com/users/wick-ed/orgs","repos_url":"https://api.github.com/users/wick-ed/repos","events_url":"https://api.github.com/users/wick-ed/events{/privacy}","received_events_url":"https://api.github.com/users/wick-ed/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/appserver-io/appserver/milestones/14","html_url":"https://github.com/appserver-io/appserver/milestones/Release%201.0.6%20%22Iron%20Horse%22","labels_url":"https://api.github.com/repos/appserver-io/appserver/milestones/14/labels","id":1103708,"number":14,"title":"Release 1.0.6 \"Iron Horse\"","description":"Bugfix Release.","creator":{"login":"wagnert","id":287509,"avatar_url":"https://avatars.githubusercontent.com/u/287509?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnert","html_url":"https://github.com/wagnert","followers_url":"https://api.github.com/users/wagnert/followers","following_url":"https://api.github.com/users/wagnert/following{/other_user}","gists_url":"https://api.github.com/users/wagnert/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnert/subscriptions","organizations_url":"https://api.github.com/users/wagnert/orgs","repos_url":"https://api.github.com/users/wagnert/repos","events_url":"https://api.github.com/users/wagnert/events{/privacy}","received_events_url":"https://api.github.com/users/wagnert/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2015-05-10T16:04:47Z","updated_at":"2015-06-17T10:17:33Z","due_on":"2015-06-16T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-17T08:34:49Z","updated_at":"2015-06-17T10:17:33Z","closed_at":"2015-06-17T10:17:33Z","body":"If using webserver based authentication it seems that the configuration is not picked up correctly.\r\nUsage results in the following error:\r\n\r\n```\r\nMissing required configuration values for authentication \"Basic\", needs at least \"realm\".\r\n```\r\n\r\nA test configuration would look like the following:\r\n```xml\r\n <authentication uri=\"^\\/test.*\">\r\n     <params>\r\n         <param name=\"type\" type=\"string\">\\AppserverIo\\Http\\Authentication\\BasicAuthentication</param>\r\n         <param name=\"realm\" type=\"string\">PhpWebServer Basic Authentication System</param>\r\n         <param name=\"file\" type=\"string\">var/www/auth/basic/.htpasswd</param>\r\n   </params>\r\n</authentication>\r\n```"}}