Examples of PathProtectionDescriptor


Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

  public String getResourceUri() {
    return RESOURCE_URI;
  }

  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor(getResourceUri(), "authcBasic,perms[nexus:componentscontentclasses]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return RESOURCE_URI;
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor("/repo_groups/*", "authcBasic,perms[nexus:repogroups]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return new UserAccountRequestResponseWrapper();
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor("/user_account/*", "authcBasic");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    // this is the ONLY resource using authcNxBasic, as the UI can't receive 401 errors from teh server
    // as the browser login pops up, which is no good in this case
    return new PathProtectionDescriptor(getResourceUri(), "authcNxBasic,perms[nexus:authentication]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return RESOURCE_URI;
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor(getResourceUri(), "authcBasic,perms[security:privileges]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return RESOURCE_URI;
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor("/global_settings/*", "authcBasic,perms[nexus:settings]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return RESOURCE_URI;
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor(getResourceUri(), "authcBasic,perms[nexus:componentrealmtypes]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    // everybody needs to know the UI timeout
    return new PathProtectionDescriptor(getResourceUri(), "anon");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return RESOURCE_URI;
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor(getResourceUri(), "authcBasic,perms[nexus:repogroups]");
  }
View Full Code Here

Examples of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

    return "/repo_groups/{" + GROUP_ID_KEY + "}/content";
  }

  @Override
  public PathProtectionDescriptor getResourceProtection() {
    return new PathProtectionDescriptor("/repo_groups/*/content/**", "authcBasic,tgperms");
  }
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.