私は seam 3.1.0 Final アプリケーションを持っています。セキュリティ部分に @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 ") ページにリダイレクトする必要があります。