Class OpenNMSConfiguration


  • public class OpenNMSConfiguration
    extends Configuration
    Outside of Karaf (ie, in the "system" bundle) we need to use the springframework-security version of the OpenNMSLoginModule run. We can't share login modules because of classloading boundaries, and the peculiar way that Karaf wraps login modules in a proxy class. Additionally, there are some cases where we wish to use the system's JAAS configuration. To achieve this, we gather all of the configuration implementations until the Karaf implementation is loaded (this implementation is currently loaded last in the startup process). When a request is made, we then delegate to all of the known implementations.