{"action":"opened","issue":{"url":"https://api.github.com/repos/pac4j/vertx-pac4j/issues/16","labels_url":"https://api.github.com/repos/pac4j/vertx-pac4j/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pac4j/vertx-pac4j/issues/16/comments","events_url":"https://api.github.com/repos/pac4j/vertx-pac4j/issues/16/events","html_url":"https://github.com/pac4j/vertx-pac4j/issues/16","id":104088820,"number":16,"title":"Remove Pac4jWrapper from the Pac4jAuthHandler API","user":{"login":"millross","id":1318862,"avatar_url":"https://avatars.githubusercontent.com/u/1318862?v=3","gravatar_id":"","url":"https://api.github.com/users/millross","html_url":"https://github.com/millross","followers_url":"https://api.github.com/users/millross/followers","following_url":"https://api.github.com/users/millross/following{/other_user}","gists_url":"https://api.github.com/users/millross/gists{/gist_id}","starred_url":"https://api.github.com/users/millross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millross/subscriptions","organizations_url":"https://api.github.com/users/millross/orgs","repos_url":"https://api.github.com/users/millross/repos","events_url":"https://api.github.com/users/millross/events{/privacy}","received_events_url":"https://api.github.com/users/millross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-31T16:46:13Z","updated_at":"2015-08-31T16:46:13Z","closed_at":null,"body":"Stateful - and Stateless - Pac4jAuthHandlers should not expose Pac4jWrapper in their constructors,\r\n\r\nInstead they should expose the elements from which a Pac4jWrapper is constructed, and create the\r\nwrapper internally when constructed. There is no need to externalize the Pac4jWrapper creation. \r\n\r\nSince the stateful handler auto creates the callback handler with which it is associated, it can pass its\r\ninternal Pac4JWrapper into the callback handler when it creates it."}}