|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.services.impl.NotificationListenerConnection
org.openanzo.server.security.AuthenticationProvider
public class AuthenticationProvider
Implementation of IAuthenticationProvider that authenticates with users and passwords stored in Anzo
| Constructor Summary | |
|---|---|
AuthenticationProvider(java.util.Properties properties)
Create new AuthenticationProvider with given configuration properties |
|
| Method Summary | |
|---|---|
org.openrdf.model.URI |
authenticateUser(RepositoryConnection repositoryConnection,
java.lang.String userId,
java.lang.String password)
Authenticate the userId and password with provider, and return the URI of the user within Anzo |
boolean |
getIsStarted()
Determine if the service is started |
void |
registerIUserUpdateListener(IUserUpdateListener listener)
Register IUserUpdateListener |
void |
registerMBean(javax.management.MBeanServer mbs,
javax.management.ObjectName parentObjectName)
Register the service with the server's jmx server |
void |
start()
Start the service |
void |
stop()
Stop the service |
void |
unregisterIUserUpdateListener(IUserUpdateListener listener)
Unregister IUserUpdateListener |
| Methods inherited from class org.openanzo.services.impl.NotificationListenerConnection |
|---|
close, connect, getNotificationService, isConnected |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openanzo.server.repository.IServerService |
|---|
close |
| Constructor Detail |
|---|
public AuthenticationProvider(java.util.Properties properties)
properties - | Method Detail |
|---|
public void start()
throws AnzoException
IServerService
start in interface IServerServicestart in interface IServerServiceMBeanAnzoExceptionpublic boolean getIsStarted()
IServerService
getIsStarted in interface IServerServicegetIsStarted in interface IServerServiceMBean
public void stop()
throws AnzoException
IServerService
stop in interface IServerServicestop in interface IServerServiceMBeanAnzoException
public org.openrdf.model.URI authenticateUser(RepositoryConnection repositoryConnection,
java.lang.String userId,
java.lang.String password)
throws AnzoException
IAuthenticationProvider
authenticateUser in interface IAuthenticationProviderrepositoryConnection - RepositoryConnection used to do any anzo queries to determine useriduserId - Userid to authenticatepassword - Password to authenticate
AnzoExceptionpublic void registerIUserUpdateListener(IUserUpdateListener listener)
IAuthenticationProvider
registerIUserUpdateListener in interface IAuthenticationProviderpublic void unregisterIUserUpdateListener(IUserUpdateListener listener)
IAuthenticationProvider
unregisterIUserUpdateListener in interface IAuthenticationProvider
public void registerMBean(javax.management.MBeanServer mbs,
javax.management.ObjectName parentObjectName)
IServerService
registerMBean in interface IServerServicembs - the jmx serverparentObjectName - the name under which this object will be registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||