public interface FileroDataSource extends ADEPT2Service
Filero to
create data sources.Filero| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String userName,
java.lang.String password)
Authenticates the designated user with the designated password at the
FILERO server of this data source.
|
FileroConnection |
getConnection()
Returns a connection that can be used to access FILERO.
|
FileroConnection |
getConnection(java.lang.String username)
Returns a connection that can be used to access FILERO.
|
getLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startFileroConnection getConnection()
throws FileroException
release the connection after usage.FileroAuthenticationException - if the login was unsuccessfulFileroInterruptedException - if the thread waiting to acquire a
connection was interruptedFileroException - if a connection could not be acquiredFileroConnection getConnection(java.lang.String username)
throws FileroException
release the connection after usage.username - the user in whose name all access will be performedFileroAuthenticationException - if the login was unsuccessfulFileroInterruptedException - if the thread waiting to acquire a
connection was interruptedFileroException - if a connection could not be acquiredboolean authenticate(java.lang.String userName,
java.lang.String password)
throws FileroException
userName - The name of the user who to authenticate at FILERO.password - The password with which to authenticate the user at FILERO.FileroException - If there are (technical) problems accessing FILERO,
a FileroException will be thrown.