jave note access control