org.sonar.api.security
Class ExternalGroupsProvider
java.lang.Object
org.sonar.api.security.ExternalGroupsProvider
public abstract class ExternalGroupsProvider
- extends Object
Note 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalGroupsProvider
public ExternalGroupsProvider()
doGetGroups
public abstract Collection<String> doGetGroups(String username)
- Returns:
- list of groups associated with specified user, or null if such user doesn't exist
- Throws:
RuntimeException
- in case of unexpected error such as connection failure
Copyright © 2009-2012 SonarSource. All Rights Reserved.