There is a way. It requires you to change the login.jsp file.
First, you'll want to create a user that isn't able to edit settings or password.
Make sure all of your settings are as you want them because they will be hard to change once you enable the auto-login.
Locate the login.jsp file, and add this function:
- Code: Select all
function init() {
document.getElementById('j_username').value = "guestUserHere";
document.getElementById('j_password').value = "guestPasswordHere";
document.getElementById('submit').click();
}
Next you have to add "id="j_password"" to the password field, and "id="submit"" to the submit button.
The final step is to change the onload= in the body tag to "onload="init()" and save the file.
Every user will automatically be logged in as the user you specified, and to make changes at a later time, you will want to simply comment the last line of the function we added, make your changes, and uncomment the line.
Hope this helps!