Authentication is coded. Although it is not yet tested, but the big picture of Java DB programming is here.