defaultAuthenticationEntryPointFor

fun defaultAuthenticationEntryPointFor(entryPoint: AuthenticationEntryPoint, preferredMatcher: RequestMatcher)

Sets a default AuthenticationEntryPoint to be used which prefers being invoked for the provided RequestMatcher.

Parameters

entryPoint

the AuthenticationEntryPoint to use

preferredMatcher

the RequestMatcher for this default AccessDeniedHandler