Package org.sonatype.plexus.rest.resource

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


    return RESOURCE_URI;
  }

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

    return new UserAccountRequestResponseWrapper();
  }

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

  @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

    return RESOURCE_URI;
  }

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

    return RESOURCE_URI;
  }

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

    return RESOURCE_URI;
  }

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

  }

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

    return RESOURCE_URI;
  }

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

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

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

TOP

Related Classes of org.sonatype.plexus.rest.resource.PathProtectionDescriptor

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.