Package org.sonar.api.security
Class ExternalUsersProvider
- java.lang.Object
-
- org.sonar.api.security.ExternalUsersProvider
-
public abstract class ExternalUsersProvider extends java.lang.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalUsersProvider.Context
-
Constructor Summary
Constructors Constructor Description ExternalUsersProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDetails
doGetUserDetails(ExternalUsersProvider.Context context)
Override this method in order load user information.
-
-
-
Method Detail
-
doGetUserDetails
public UserDetails doGetUserDetails(ExternalUsersProvider.Context context)
Override this method in order load user information.- Returns:
- the user, or null if user doesn't exist
- Throws:
java.lang.RuntimeException
- in case of unexpected error such as connection failure- Since:
- 3.1
-
-