org.openanzo.server.security
Interface IAuthenticationProvider

All Superinterfaces:
IServerService
All Known Implementing Classes:
AuthenticationProvider, JaasAuthenticationProvider, LdapAuthenticationProvider

public interface IAuthenticationProvider
extends IServerService

IAuthenticationProvider provides means for Anzo to authenticate users

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

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 registerIUserUpdateListener(IUserUpdateListener listener)
          Register IUserUpdateListener
 void unregisterIUserUpdateListener(IUserUpdateListener listener)
          Unregister IUserUpdateListener
 
Methods inherited from interface org.openanzo.server.repository.IServerService
close, getIsStarted, registerMBean, start, stop
 

Method Detail

authenticateUser

org.openrdf.model.URI authenticateUser(RepositoryConnection repositoryConnection,
                                       java.lang.String userId,
                                       java.lang.String password)
                                       throws AnzoException
Authenticate the userId and password with provider, and return the URI of the user within Anzo

Parameters:
repositoryConnection - RepositoryConnection used to do any anzo queries to determine userid
userId - Userid to authenticate
password - Password to authenticate
Returns:
URI of user within Anzo
Throws:
AnzoException

registerIUserUpdateListener

void registerIUserUpdateListener(IUserUpdateListener listener)
Register IUserUpdateListener

Parameters:
listener -

unregisterIUserUpdateListener

void unregisterIUserUpdateListener(IUserUpdateListener listener)
Unregister IUserUpdateListener

Parameters:
listener -


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.