String url = getUrl(request);
AuthenticationEntryPoint entryPoint = getAppropriateEntryPoint(url);
entryPoint.commence(request, response, authException);
}
private AuthenticationEntryPoint getAppropriateEntryPoint(String url) {
for (String pattern : m_patterns) {