Hello Guillaume Maybe you cannot render the resource, because the "anonymous" user does not have read permissions? If you want to have a resource based login page, you need to allow "anonymous" read access.
Hope this help! Regards Julian On Wed, Jan 13, 2016 at 4:15 PM, Guillaume Lucazeau <[email protected]> wrote: > Hello, > > I would like to provide a custom form reusing the form authentication > provided by Sling, so I have followed this example: > https://github.com/apache/sling/tree/trunk/samples/custom-login-form > > I works well with a static page, however I would like to reuse the > header/footer fragments that I usually include with <sling:include> in my > application, to get the Javascript and CSS files. > > Is it possible to use a JSP there, while keeping the authentication > mechanism provided by Sling? > > I didn't succeed to serve a page based on a resource for the authentication > page, and didn't find much online. > > Thank you > Guillaume
