Package org.sonatype.security.events

Examples of org.sonatype.security.events.SecurityConfigurationChanged


      // it would be great if this was put somewhere else, but I am out of ideas.
      // the problem is the default security was already loaded with the security-system component was loaded
      // so it has the defaults, the upgrade from 1.0.8 -> 1.4 moves security out of the nexus.xml
      // and we cannot use the 'correct' way of updating the info, because that would cause an infinit loop
      // loading the nexus.xml
      this.eventBus.post(new SecurityConfigurationChanged());
    }

    upgradeNexusVersion();

    ValidationResponse vResponse =
View Full Code Here


          // now save
          realmConfigSource.storeConfiguration();
          // because we change the configuration directly we need to tell the SecuritySystem to clear the
          // cache,
          // although at this point nothing should be cached, but better safe the sorry
          eventBus.post(new SecurityConfigurationChanged());
        }
      }
      catch (ConfigurationIsCorruptedException e) {
        log.error("Failed to upgrade security.xml: " + e);
        startedEvent.putVeto(this, e);
View Full Code Here

TOP

Related Classes of org.sonatype.security.events.SecurityConfigurationChanged

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.