Class AuthenticationFilter

java.lang.Object
ch.tocco.nice2.web.core.impl.auth.AuthenticationFilter
All Implemented Interfaces:
jakarta.servlet.Filter

@Component public class AuthenticationFilter extends Object implements jakarta.servlet.Filter
Filter doing authentication of the current request.

Reads credentials from the request and attempts to authenticate the user.

If no credentials have been given it will authenticate the anonymous user. So after this filter there will be a valid SecurityContext on the thread.