[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
Tue Jan 16 13:15:01 EST 2018


Darran Lofthouse created ELY-1489:
-------------------------------------

             Summary: 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.Beta12


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