AuthenticationServiceBase
, BasicAuthenticationServiceImpl
, JNDIAuthenticationService
, NativeAuthenticationServiceImpl
, NoneAuthenticationServiceImpl
, SpecificAuthenticationServiceImpl
public interface AuthenticationService
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.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MODULE |
Modifier and Type | Method | Description |
---|---|---|
boolean |
authenticate(java.lang.String databaseName,
java.util.Properties info) |
Authenticate a User inside Derby.
|
java.lang.String |
getSystemCredentialsDatabaseName() |
Get the name of the credentials database used to authenticate system-wide operations.
|
static final java.lang.String MODULE
boolean authenticate(java.lang.String databaseName, java.util.Properties info) throws java.sql.SQLException
info
- Connection properties info.
failure.java.sql.SQLException
java.lang.String getSystemCredentialsDatabaseName()
Get the name of the credentials database used to authenticate system-wide operations. This returns null for all implementations except NATIVE authentication.
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.