TOMCAT AUTHENTICATION
Know how miniOrange does Custom Authentication uisng Valve.

Setting up Tomcat Authenticator Valve

miniOrange can configure Tomcat using three authentication methods the Basic Authentication, Form Authentcation and Authentication using valve. Below is the description of Custom Authentcation using valve:

Tomcat Authenticator valve protects access to all or some webapps deployed in the tomcat instance. If the user is not authenticated, it sends a request to SAML plugin to authenticate the user.

It also manages the Single Sign On between the protected webapps (can be configured if you do not want single sign on between the protected apps).