[jboss-jira] [JBoss JIRA] (ELY-1489) FormAuthenticationMechanism should only create a session if an identity is being stored

Darran Lofthouse (JIRA) issues at jboss.org
Wed Feb 14 07:17:00 EST 2018


     [ https://issues.jboss.org/browse/ELY-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse resolved ELY-1489.
-----------------------------------
    Resolution: Done


> FormAuthenticationMechanism should only create a session if an identity is being stored
> ---------------------------------------------------------------------------------------
>
>                 Key: ELY-1489
>                 URL: https://issues.jboss.org/browse/ELY-1489
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: 1.2.0.Beta13
>
>
> We don't need this internal method to contain the boolean argument: -
> {code}
> private IdentityCache createIdentityCache(HttpServerRequest request, boolean createSession) {
> {code}
> A subsequent call to put is sufficient for us to know a session is needed, an all other cases don't create the session.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list