Skip to content

Commit

Permalink
update: 配置SimpleAuthenticationFilter的loginUrl时,传递到NutShiro.DefaultLog…
Browse files Browse the repository at this point in the history
…inURL
  • Loading branch information
wendal committed Nov 14, 2016
1 parent ff40854 commit 90eab55
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -28,4 +28,9 @@ protected boolean isAccessAllowed(ServletRequest request, ServletResponse respon
return true;
return super.isAccessAllowed(request, response, mappedValue);
}

public void setLoginUrl(String loginUrl) {
super.setLoginUrl(loginUrl);
NutShiro.DefaultLoginURL = loginUrl;
}
}

0 comments on commit 90eab55

Please sign in to comment.