Package org.sonar.api.security
Class ExternalGroupsProvider
- java.lang.Object
- 
- org.sonar.api.security.ExternalGroupsProvider
 
- 
 public abstract class ExternalGroupsProvider extends java.lang.ObjectNote that prefix "do" for names of methods is reserved for future enhancements, thus should not be used in subclasses.- Since:
- 2.14
- See Also:
- SecurityRealm
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classExternalGroupsProvider.Context
 - 
Constructor SummaryConstructors Constructor Description ExternalGroupsProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>doGetGroups(ExternalGroupsProvider.Context context)Override this method in order to load user group information.
 
- 
- 
- 
Method Detail- 
doGetGroups@CheckForNull public java.util.Collection<java.lang.String> doGetGroups(ExternalGroupsProvider.Context context) Override this method in order to load user group information.- Returns:
- list of groups associated with specified user, or null if such user doesn't exist
- Throws:
- java.lang.RuntimeException- in case of unexpected error such as connection failure
- Since:
- 5.2
 
 
- 
 
-