Examples of KenaiRealmConfiguration


Examples of org.sonatype.security.realms.kenai.config.KenaiRealmConfiguration

  protected KenaiRealmConfiguration getKenaiRealmConfiguration()
      throws Exception
  {
    // configure Kenai Realm
    KenaiRealmConfiguration kenaiRealmConfiguration = lookup(KenaiRealmConfiguration.class);
    Configuration configuration = kenaiRealmConfiguration.getConfiguration();
    configuration.setDefaultRole(DEFAULT_ROLE);
    configuration.setEmailDomain("sonatype.org");
    configuration.setBaseUrl(server.getServerProvider().getUrl() + AUTH_APP_NAME + "/"); // add the '/' to the end
    // kenaiRealmConfiguration.updateConfiguration( configuration );
    return kenaiRealmConfiguration;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.