public void readDashboardRolesConfig ( @ Observes @ Initialized ( ApplicationScoped . class ) ServletContext sc ) { readFromConfigurationRoles ( ) ; readFromInitParameter ( sc ) ; logger . debug ( "'{}' value : '{}'." , Constants . Options . DASHBOARD_ROLES , roles ) ; }
Read in web . xml and differents producers the optional DASHBOARD_ROLES config and set it in OcelotConfiguration