|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.security.LdapAuthenticationProvider
public class LdapAuthenticationProvider
Ldap authentication providers an example that authenticates userid and password against an ldap store, and returns the a value from ldap that maps to an Anzo id
| Constructor Summary | |
|---|---|
LdapAuthenticationProvider(java.util.Properties properties)
Create new LdapAuthenticationProvider with provided 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 |
void |
close()
Close the service |
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 java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapAuthenticationProvider(java.util.Properties properties)
properties - Configuration properties| Method Detail |
|---|
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 start()
IServerService
start in interface IServerServicepublic void stop()
IServerService
stop in interface IServerService
public void close()
throws AnzoException
IServerService
close in interface IServerServiceAnzoExceptionpublic boolean getIsStarted()
IServerService
getIsStarted in interface IServerServicepublic 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 | |||||||||