{"action":"opened","issue":{"url":"https://api.github.com/repos/pac4j/pac4j/issues/269","labels_url":"https://api.github.com/repos/pac4j/pac4j/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/pac4j/pac4j/issues/269/comments","events_url":"https://api.github.com/repos/pac4j/pac4j/issues/269/events","html_url":"https://github.com/pac4j/pac4j/issues/269","id":106394966,"number":269,"title":"IndirectBasicAuthClient logging ERROR on credentials exception","user":{"login":"robgratz","id":3732261,"avatar_url":"https://avatars.githubusercontent.com/u/3732261?v=3","gravatar_id":"","url":"https://api.github.com/users/robgratz","html_url":"https://github.com/robgratz","followers_url":"https://api.github.com/users/robgratz/followers","following_url":"https://api.github.com/users/robgratz/following{/other_user}","gists_url":"https://api.github.com/users/robgratz/gists{/gist_id}","starred_url":"https://api.github.com/users/robgratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robgratz/subscriptions","organizations_url":"https://api.github.com/users/robgratz/orgs","repos_url":"https://api.github.com/users/robgratz/repos","events_url":"https://api.github.com/users/robgratz/events{/privacy}","received_events_url":"https://api.github.com/users/robgratz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T17:54:03Z","updated_at":"2015-09-14T17:54:03Z","closed_at":null,"body":"I am new to using pac4j but am seeing a log message that doesn't seem like it should be shown as level ERROR.  In the retrieveCredentials(WebContext) method, there is a message logged at error when a CredentialsException is caught, but in my little experience with the library, this is an \"expected\" exception if the authentication header is not provided.  The way I am interpreting this functionality to work is the request is made without the header, an error is thrown requesting the header, then the request is made with it.  So, there shouldn't be an error message (and stacktrace) in the original request.  Apologies if I am not understanding the flow properly."}}