public abstract class ExternalGroupsProvider
extends java.lang.Object
SecurityRealm
Modifier and Type | Class and Description |
---|---|
static class |
ExternalGroupsProvider.Context |
Constructor and Description |
---|
ExternalGroupsProvider() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
doGetGroups(ExternalGroupsProvider.Context context)
Override this method in order to load user group information.
|
java.util.Collection<java.lang.String> |
doGetGroups(java.lang.String username)
Deprecated.
replaced by
doGetGroups(org.sonar.api.security.ExternalGroupsProvider.Context) since v. 5.2 |
@Deprecated public java.util.Collection<java.lang.String> doGetGroups(java.lang.String username)
doGetGroups(org.sonar.api.security.ExternalGroupsProvider.Context)
since v. 5.2java.lang.RuntimeException
- in case of unexpected error such as connection failurepublic java.util.Collection<java.lang.String> doGetGroups(ExternalGroupsProvider.Context context)
java.lang.RuntimeException
- in case of unexpected error such as connection failure