A Configuration specifies the LoginModule (s) to be used with a particular login application. The LoginContext invokes the LoginModule 's logout method..