org.sonar.api.security
Class SecurityRealm
java.lang.Object
org.sonar.api.security.SecurityRealm
- All Implemented Interfaces:
- Extension, ServerComponent, ServerExtension
public abstract class SecurityRealm
- extends Object
- implements ServerExtension
- Since:
- 2.14
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityRealm
public SecurityRealm()
getName
public String getName()
- Returns:
- unique name of this realm, e.g. "ldap"
init
public void init()
- Invoked during server startup and can be used to initialize internal state.
getLoginPasswordAuthenticator
@Deprecated
public LoginPasswordAuthenticator getLoginPasswordAuthenticator()
- Deprecated. replaced by doGetAuthenticator in version 3.1
- Returns:
LoginPasswordAuthenticator
associated with this realm, never null
doGetAuthenticator
public Authenticator doGetAuthenticator()
- Since:
- 3.1
getUsersProvider
public ExternalUsersProvider getUsersProvider()
- Returns:
ExternalUsersProvider
associated with this realm, null if not supported
getGroupsProvider
public ExternalGroupsProvider getGroupsProvider()
- Returns:
ExternalGroupsProvider
associated with this realm, null if not supported
Copyright © 2009-2014 SonarSource. All Rights Reserved.