private boolean isOnInitialProtectedURL(HttpMessageContext httpMessageContext) {
return
httpMessageContext.isProtected() &&
!httpMessageContext.isAuthenticationRequest() &&
getSavedRequest(httpMessageContext.getRequest()) == null &&
<BUG>getSavedAuthentication(httpMessageContext.getRequest()) == null;

}</BUG>
private boolean isOnLoginPostback(HttpServletRequest request) {
return

private boolean isOnInitialProtectedURL(HttpMessageContext httpMessageContext) {
return
httpMessageContext.isProtected() &&
!httpMessageContext.isAuthenticationRequest() &&
getSavedRequest(httpMessageContext.getRequest()) == null &&
getSavedAuthentication(httpMessageContext.getRequest()) == null &&
!httpMessageContext.getRequest().getRequestURI().endsWith("j_security_check");
}
private boolean isOnLoginPostback(HttpServletRequest request) {
return
