Class PropertiesRoleMappingListener

All Implemented Interfaces:

public class PropertiesRoleMappingListener extends Object implements LifecycleListener
Implementation of LifecycleListener that will populate the context's role mapping from a properties file.

This listener must only be nested within Context elements.

The keys represent application roles (e.g., admin, user, uservisor, etc.) while the values represent technical roles (e.g., DNs, SIDs, UUIDs, etc.). A key can also be prefixed if, e.g., the properties file contains generic application configuration as well: app-roles..

Note: The default value for the roleMappingFile is webapp:/WEB-INF/