Interface IDynamicRolesProvider


public interface IDynamicRolesProvider
Pluggable provider of dynamic roles.

Used by IDynamicRolesProviderRegistry.

Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillDynamicRoles(Set<String> roles, String userName, IPObject pobject)
    Add all dynamic roles of given user with relation to given object.
  • Method Details

    • fillDynamicRoles

      void fillDynamicRoles(@NotNull Set<String> roles, @NotNull String userName, @NotNull IPObject pobject)
      Add all dynamic roles of given user with relation to given object.

      Implementation is permitted to read data from the object, but not to modify it. It is ensured that no action performed by the provider will result in its nested call.

      Parameters:
      roles - outgoing Set of String role names (not null)
      userName - user name (not null)
      pobject - persisted object (not null)