Package org.sonatype.security.events

Examples of org.sonatype.security.events.AuthorizationConfigurationChanged


  public static final String ACTION = "PURGE_API_KEYS";

  @Override
  protected Void doRun() {
    // triggers the expiry of any orphaned cached user principals
    notifyEventListeners(new AuthorizationConfigurationChanged());
    return null;
  }
View Full Code Here


        }
      }
    }

    // clear the realm authz caches as user might get roles changed
    eventBus.post(new AuthorizationConfigurationChanged());

    return user;
  }
View Full Code Here

    if (!foundUser) {
      throw new UserNotFoundException(userId);
    }
    // clear the authz realm caches
    eventBus.post(new AuthorizationConfigurationChanged());
  }
View Full Code Here

      }
    }
  }

  private void fireAuthorizationChangedEvent() {
    this.eventBus.post(new AuthorizationConfigurationChanged());
  }
View Full Code Here

        }
      }

      if (rebuiltConfiguration) {
        // signal rebuild (outside lock to avoid contention)
        eventBus.post(new AuthorizationConfigurationChanged());
      }
    }
    return configuration;
  }
View Full Code Here

TOP

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

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.