{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/2479","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/2479/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/2479/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/2479/events","html_url":"https://github.com/payara/Payara/issues/2479","id":300822284,"number":2479,"title":"RememberMeAnnotationLiteral issue in javaee/security-soteria","user":{"login":"sgomanf","id":14096522,"avatar_url":"https://avatars1.githubusercontent.com/u/14096522?v=4","gravatar_id":"","url":"https://api.github.com/users/sgomanf","html_url":"https://github.com/sgomanf","followers_url":"https://api.github.com/users/sgomanf/followers","following_url":"https://api.github.com/users/sgomanf/following{/other_user}","gists_url":"https://api.github.com/users/sgomanf/gists{/gist_id}","starred_url":"https://api.github.com/users/sgomanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgomanf/subscriptions","organizations_url":"https://api.github.com/users/sgomanf/orgs","repos_url":"https://api.github.com/users/sgomanf/repos","events_url":"https://api.github.com/users/sgomanf/events{/privacy}","received_events_url":"https://api.github.com/users/sgomanf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-27T22:44:51Z","updated_at":"2018-03-01T20:49:58Z","closed_at":null,"author_association":"NONE","body":"When I use the RememberMe annotation, and specifying an EL in the isRememeberMeExpresion property, the expression is invoked twice from the RememberMeAnnotationLiteral class (from javaee / security-soteria) lines 117 and 118. The first call expects a boolean return value and the second a String, generating the latter an exception java.lang.ClassCastException: java.lang.Boolean can not be cast to java.lang.String.\r\nI know it's not a Payara problem but I do not know where to report it.\r\n\r\n## Environment ##\r\n\r\n- **Payara Version**:5.Beta2\r\n- **Edition**:  Full\r\n- **JDK Version**: 8u162 - Oracle\r\n- **Operating System**: Windows 7\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/369726265","html_url":"https://github.com/payara/Payara/issues/2479#issuecomment-369726265","issue_url":"https://api.github.com/repos/payara/Payara/issues/2479","id":369726265,"user":{"login":"sgomanf","id":14096522,"avatar_url":"https://avatars1.githubusercontent.com/u/14096522?v=4","gravatar_id":"","url":"https://api.github.com/users/sgomanf","html_url":"https://github.com/sgomanf","followers_url":"https://api.github.com/users/sgomanf/followers","following_url":"https://api.github.com/users/sgomanf/following{/other_user}","gists_url":"https://api.github.com/users/sgomanf/gists{/gist_id}","starred_url":"https://api.github.com/users/sgomanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgomanf/subscriptions","organizations_url":"https://api.github.com/users/sgomanf/orgs","repos_url":"https://api.github.com/users/sgomanf/repos","events_url":"https://api.github.com/users/sgomanf/events{/privacy}","received_events_url":"https://api.github.com/users/sgomanf/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T20:49:58Z","updated_at":"2018-03-01T20:49:58Z","author_association":"NONE","body":"When I use deferred expressions (# {}) it does not throw the exception."}}
{"actor":{"display_login":"sgomanf"}}