All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.model.security.AccountGroupContributor Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.security;

import javax.validation.constraints.NotNull;
import java.util.Collection;

/**
 * Contributes a list of groups to an account.
 */
public interface AccountGroupContributor {

    /**
     * Collects the list of groups for this account
     *
     * @param authenticatedAccount Account with authentication information to collect groups for
     * @return List of groups (can be empty but not null)
     */
    Collection collectGroups(@NotNull AuthenticatedAccount authenticatedAccount);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy