Class RolesConfig

java.lang.Object
com.polarion.platform.spi.security.RolesConfig

public class RolesConfig extends Object
Author:
dobisekm
  • Field Details

  • Constructor Details

    • RolesConfig

      public RolesConfig()
    • RolesConfig

      public RolesConfig(@NotNull Document dom)
    • RolesConfig

      public RolesConfig(@NotNull InputStream in)
  • Method Details

    • serialize

      @NotNull public Document serialize()
    • addAll

      public void addAll(@NotNull RolesConfig other)
      Adds all the roles from the other config into this config.
    • getRoles

      @NotNull public Set<String> getRoles()
    • addRole

      public boolean addRole(@NotNull String role)
    • removeRole

      public boolean removeRole(@NotNull String role)
    • setDefaultHatForRole

      public boolean setDefaultHatForRole(@NotNull String role, @Nullable String hatId)
    • getDefaultHatForRole

      @Nullable public String getDefaultHatForRole(@NotNull String role)