|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.security.JaasAuthenticationProvider
public class JaasAuthenticationProvider
Authentication provider that uses JAAS to authenticate users
| Constructor Summary | |
|---|---|
JaasAuthenticationProvider()
|
|
| 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 JaasAuthenticationProvider()
| 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 IServerServicepublic void close()
IServerService
close in interface IServerServicepublic 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 | |||||||||