Interface AuthenticationService

All Known Implementing Classes:
AuthenticationServiceBase, BasicAuthenticationServiceImpl, JNDIAuthenticationService, NativeAuthenticationServiceImpl, 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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authenticate(String databaseName, Properties info)
    Authenticate a User inside Derby.
    Get the name of the credentials database used to authenticate system-wide operations.
  • Field Details

  • Method Details

    • authenticate

      boolean authenticate(String databaseName, Properties info) throws SQLException
      Authenticate a User inside Derby.
      Parameters:
      info - Connection properties info. failure.
      Throws:
      SQLException
    • getSystemCredentialsDatabaseName

      String getSystemCredentialsDatabaseName()

      Get the name of the credentials database used to authenticate system-wide operations. This returns null for all implementations except NATIVE authentication.