This section provides examples that show user authentication and
authorization in Derby in
either a client/server environment or in an embedded environment.
NATIVE authentication and SQL authorization example
This example consists of the program NativeAuthenticationExample.java, which shows how to use Derby's NATIVE user authentication and SQL authorization with either the embedded or the client driver.