org.sonar.api.security
Class ExternalGroupsProvider

java.lang.Object
  extended by 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

Constructor Summary
ExternalGroupsProvider()
           
 
Method Summary
abstract  Collection<String> doGetGroups(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalGroupsProvider

public ExternalGroupsProvider()
Method Detail

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–2015 SonarSource. All rights reserved.