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.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if authentication succeededThe name of the database databaseName, Properties Connection properties info. info)Authenticate a User inside Derby. |
| public String | Returns: the name of the system-wide credentials databaseGet the name of the credentials database used to authenticate system-wide operations. |
| MODULE | back to summary |
|---|---|
| public static final String MODULE | |
| authenticate | back to summary |
|---|---|
| public boolean authenticate(String databaseName, Properties info) throws SQLException Authenticate a User inside Derby.
| |
| getSystemCredentialsDatabaseName | back to summary |
|---|---|
| public String getSystemCredentialsDatabaseName() Get the name of the credentials database used to authenticate system-wide operations. This returns null for all implementations except NATIVE authentication.
| |