net.nemerosa.ontrack.model.security.AccountGroupContributor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
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