سؤال

Is there other way to use seam3-security restricting page access via permission without using seam-faces?

In seam-faces we use something like:

@ViewConfig
public interface PagesConfig {
    static enum Pages1 {

        @ViewPattern("/*")
        @LoginView("/login.xhtml")
        @AccessDeniedView("/errors/403.xhtml")
        ALL,
    }
}

If we don't want seam-faces is there another way to do it?

هل كانت مفيدة؟

المحلول

Unfortunately this is not possible. To use the best out of seam-security you need to use seam-faces.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top