Class GSDataRulesEncoder

    • Constructor Detail

      • GSDataRulesEncoder

        public GSDataRulesEncoder()

        Constructor for GSWorkspaceEncoder.

    • Method Detail

      • addRule

        public void addRule​(java.lang.String workspace,
                            java.lang.String layer,
                            GeoServerRESTSecurityManager.RuleType type,
                            java.util.Collection<java.lang.String> roles)
        Add the name to this workspace
        Parameters:
        workspace - the name of the workspace
        layer - the name of the layer
        type - the type of rule
        roles - the collection of role names
        Throws:
        java.lang.IllegalStateException - if name is already set