Interface FeatureUser

  • All Known Implementing Classes:
    SimpleFeatureUser

    public interface FeatureUser
    This interface represents a user for Togglz
    Author:
    Christian Kaltepoth
    • Method Detail

      • getName

        String getName()
        Get the unique name for this use
        Returns:
        name of the user
      • isFeatureAdmin

        boolean isFeatureAdmin()
        Is the user a feature admin, which means that he is able to use the Togglz Admin Console.
        Returns:
        true for feature admins, false otherwise.
      • getAttribute

        Object getAttribute​(String name)
        This method allows to retrieve attributes associated with a user.
        Parameters:
        name - The name of the attribute
        Returns:
        the value of the attribute or null if there is no such attribute.