You might see the following error message appear when attempting an Artifactory login:
HTTP Status 500 – Bad credentials type Exception report message Bad credentials description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.security.authentication.BadCredentialsException: Bad credentials org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:87) org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:149) org.artifactory.security.db.DbAuthenticationProvider.authenticate(DbAuthenticationProvider.java:47) org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156) org.artifactory.security.RealmAwareAuthenticationManager.authenticate(RealmAwareAuthenticationManager.java:72)
This is probably being triggered as a result of a database corruption of the anonymous user, which is used during login to Artifactory. If that file has been altered from its default settings, you'll receive a failure message like the one above.
The easiest way to resolve this problem is to go into the database, delete the anonymous user and, thereafter, restart Artifactory. This will force Artifactory to automatically recreate the anonymous user and, thereby, allow you to log in. If this doesn't resolve the problem, make sure that your database password credentials stored in etc/storage.properties can be used to log into the database that you're using.