org.apache.derby.iapi.jdbc
Interface AuthenticationService

All Known Implementing Classes:
AuthenticationServiceBase, BasicAuthenticationServiceImpl, JNDIAuthenticationService, NoneAuthenticationServiceImpl, SpecificAuthenticationServiceImpl

public interface AuthenticationService

The AuthenticationService provides a mechanism for authenticating users willing to access JBMS.

There can be different and user defined authentication schemes, as long the expected interface here below is implementing and registered as a module when JBMS starts-up.


Field Summary
static java.lang.String MODULE
           
 
Method Summary
 boolean authenticate(java.lang.String databaseName, java.util.Properties info)
          Authenticate a User inside JBMS.
 

Field Detail

MODULE

static final java.lang.String MODULE
See Also:
Constant Field Values
Method Detail

authenticate

boolean authenticate(java.lang.String databaseName,
                     java.util.Properties info)
                     throws java.sql.SQLException
Authenticate a User inside JBMS.

Parameters:
info - Connection properties info. failure.
Throws:
java.sql.SQLException

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.