You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Olaf Otto (JIRA)" <ji...@apache.org> on 2018/07/17 07:55:00 UTC

[jira] [Created] (SLING-7781) LogoutServlet does not "sing.servlet.paths" as an array

Olaf Otto created SLING-7781:
--------------------------------

             Summary: LogoutServlet does not "sing.servlet.paths" as an array
                 Key: SLING-7781
                 URL: https://issues.apache.org/jira/browse/SLING-7781
             Project: Sling
          Issue Type: Bug
          Components: Authentication
    Affects Versions: Auth Core 1.4.2
            Reporter: Olaf Otto


The org.apache.sling.auth.core.impl.LogoutServlet defines the sling.servlet.paths without a cardinality, thus the respective configuration dialog does not allow specifying multiple entries. It should be like so:

{code:java}
   /**
     * The servlet is registered on this path.
     */
    @Property(name = "sling.servlet.paths", cardinality=Integer.MAX_VALUE)
public static final String SERVLET_PATH = "/system/sling/logout";
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)