The Middleware EDLdap Library’s Ed-Auth support may be used to configure authentication for a variety of environments. The roles/authorities the service provides are a combined collection of the user’s VT Affiliations and group memberships (uugid attribute of the group).
Jetty Login Service
The following is a Jetty (version 9+) configuration example:
Just like the Catalina and Spring setups, Jetty realm also provides the affiliations and the group names for authorization.
Tomcat Realm
The following is a Tomcat (version 8+) configuration example:
The Ed-Auth <Realm> can be expanded to support additional roles and users for container based authentication. For example one could configure the default manager web-application to support Ed-Auth by providing the resource in the <Server> configuration rather than application context. The following example grants access to a Virginia Tech person through Ed-Auth. Password attribute for a PID <user> should always be blank.