Skip to content

Disallow unauthenticated access to / #5

@oscararias

Description

@oscararias

This security configuration:

.antMatchers("/", "/favicon.ico", "/resources/**", "/signup").permitAll()

In conjunction with this configuration for DefaultServletHandler:

Causes an error when accessing http://localhost:8080/ if the user is not logged in.

Removing "/" from the list of allowed urls in the security config would be, IMHO, more consistent as it would redirect the user to the login form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions