The jnfs.security package implements the authentication protocol outlined above. It provides an Authentication class that manages the various stages of the protocol. The Challenge, Response, and Token classes encapsulate the data required by the Authentication class.