Class AuthorizationPreInitializer

    • Field Detail

      • AUTHZ_SERVICE

        public static final String AUTHZ_SERVICE
      • AUTHZ_FACTORY_CLASS

        public static final String AUTHZ_FACTORY_CLASS
      • AUTHZ_POLICY_CLASS

        public static final String AUTHZ_POLICY_CLASS
      • UNCHECKED_PERMISSIONS

        public static final String UNCHECKED_PERMISSIONS
      • PERROLE_PERMISSIONS

        public static final String PERROLE_PERMISSIONS
      • CONSTRAINTS

        public static final String CONSTRAINTS
      • SECURITY_ELEMENTS

        public static final String SECURITY_ELEMENTS
      • SECURITY_ANNOTATIONS

        public static final String SECURITY_ANNOTATIONS
    • Constructor Detail

      • AuthorizationPreInitializer

        public AuthorizationPreInitializer()
    • Method Detail

      • addToRole

        public static void addToRole​(javax.security.jacc.PolicyConfiguration policyConfiguration,
                                     String role,
                                     Permission permission)
      • getConstraintsFromSecurityElements

        public List<org.omnifaces.exousia.constraints.SecurityConstraint> getConstraintsFromSecurityElements​(ServletContext servletContext,
                                                                                                             org.omnifaces.exousia.AuthorizationService authorizationService)
                                                                                                      throws ServletException
        Throws:
        ServletException
      • getConstraintsFromSecurityAnnotations

        public List<org.omnifaces.exousia.constraints.SecurityConstraint> getConstraintsFromSecurityAnnotations​(ServletContext servletContext,
                                                                                                                org.omnifaces.exousia.AuthorizationService authorizationService)
                                                                                                         throws ServletException
        Throws:
        ServletException
      • join

        public List<org.omnifaces.exousia.constraints.SecurityConstraint> join​(List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsA,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsB,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsC,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsD)
      • join

        public List<org.omnifaces.exousia.constraints.SecurityConstraint> join​(List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsA,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsB,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsC)
      • join

        public List<org.omnifaces.exousia.constraints.SecurityConstraint> join​(List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsA,
                                                                               List<org.omnifaces.exousia.constraints.SecurityConstraint> constraintsB)