Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SEC-1521: NullPointerException in SecurityContextPersistenceFilter with null SecurityContextRepository #1762
According to documentation in section 8.3.1, the SecurityContextPersistenceFilter should support a null SecurityContextRepository, which would prevent a SecurityContext from ever being persisted.
However, configuring a null SecurityContextRepository results in a NullPointerException. Either the documentation is incorrect or misleading, or the SecurityContextPersistenceFilter should perform null checks on the field.
SEVERE: Servlet.service() for servlet classes/com.turner.playon.event threw exception
Jarrod Carlson said: