You can develop a Java Authentication and Authorization Service (JAAS) custom login module for adding a user name and password to authenticate to a .