我有seam 3.1.0的最终应用程序,使用@ViewConfig作为安全部分,它可以很好地重定向http,
@ViewConfig
public interface AppViewConfig {
static enum Checkout {
@ViewPattern("/test/*")
@User
ADMIN,
@FacesRedirect
@ViewPattern("/*")
@AccessDeniedView("/denied.xhtml")
@LoginView("/login.xhtml") //todo I need redirect https://localhost:443/myApp/login.xhtml
ALL;
}}
但是我需要重定向到一个https ("https://domain.com:443/myApp/login.xhtml")页面,我该怎么做呢?
发布于 2013-03-26 07:22:27
Seam3使用一个名为Seam Faces的子系统来处理JSF。并且根据该Seam Faces issue,仍然没有解决为页面指定http或https方案的问题。
https://stackoverflow.com/questions/15626105
复制相似问题