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
public abstract LoginPasswordAuthenticator getLoginPasswordAuthenticator()
- Returns:
LoginPasswordAuthenticator
associated with this realm, never null
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-2012 SonarSource. All Rights Reserved.