blob: 7e6a7aa9f3d30c9e9d6580c655d018a1f3f8ee9d [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>RoleManagementService (Apache Archiva Redback 3.0.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RoleManagementService (Apache Archiva Redback 3.0.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var data = {"i0":38,"i1":38,"i2":38,"i3":38,"i4":38,"i5":38,"i6":38,"i7":38,"i8":38,"i9":38,"i10":38,"i11":38,"i12":38,"i13":38,"i14":38,"i15":38,"i16":38,"i17":38,"i18":38,"i19":38};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RoleManagementService.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.archiva.redback.rest.api.services</a></div>
<h2 title="Interface RoleManagementService" class="title">Interface RoleManagementService</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="../../services/DefaultRoleManagementService.html" title="class in org.apache.archiva.redback.rest.services">DefaultRoleManagementService</a></code></dd>
</dl>
<hr>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
@Path("/roleManagementService/")
public interface <a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.46">RoleManagementService</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use the new v2 service <a href="v2/RoleService.html" title="interface in org.apache.archiva.redback.rest.api.services.v2"><code>RoleService</code></a></div>
</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Olivier Lamy</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#assignRole(java.lang.String,java.lang.String)">assignRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the role indicated by the roleId to the given principal</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#assignRoleByName(java.lang.String,java.lang.String)">assignRoleByName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the role indicated by the roleName to the given principal</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#assignTemplatedRole(java.lang.String,java.lang.String,java.lang.String)">assignTemplatedRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the templated role indicated by the templateId
fails if the templated role has not been created</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemplatedRole(java.lang.String,java.lang.String)">createTemplatedRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllRoles()">getAllRoles</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/ApplicationRoles.html" title="class in org.apache.archiva.redback.rest.api.model">ApplicationRoles</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getApplicationRoles(java.lang.String)">getApplicationRoles</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Application.html" title="class in org.apache.archiva.redback.rest.api.model">Application</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getApplications(java.lang.String)">getApplications</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDetailedAllRoles()">getDetailedAllRoles</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEffectivelyAssignedRoles(java.lang.String)">getEffectivelyAssignedRoles</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRole(java.lang.String)">getRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeTemplatedRole(java.lang.String,java.lang.String)">removeTemplatedRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">removes a role corresponding to the role Id that was manufactured with the given resource
it also removes any user assignments for that role</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#roleExists(java.lang.String)">roleExists</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">true of a role exists with the given roleId</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#templatedRoleExists(java.lang.String,java.lang.String)">templatedRoleExists</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">true of a role exists with the given roleId</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unassignRole(java.lang.String,java.lang.String)">unassignRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Unassigns the role indicated by the role id from the given principal</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unassignRoleByName(java.lang.String,java.lang.String)">unassignRoleByName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Unassigns the role indicated by the role name from the given principal</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRole(java.lang.String,java.lang.String,java.lang.String)">updateRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;oldResource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;newResource)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">allows for a role coming from a template to be renamed effectively swapping out the bits of it that
were labeled with the oldResource with the newResource
it also manages any user assignments for that role</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRoleDescription(java.lang.String,java.lang.String)">updateRoleDescription</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRoleUsers(org.apache.archiva.redback.rest.api.model.Role)">updateRoleUsers</a></span>&#8203;(<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&nbsp;role)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">update users assigned to a role</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateUserRoles(org.apache.archiva.redback.rest.api.model.User)">updateUserRoles</a></span>&#8203;(<a href="../model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">update roles assigned to a user</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../model/VerificationStatus.html" title="class in org.apache.archiva.redback.rest.api.model">VerificationStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#verifyTemplatedRole(java.lang.String,java.lang.String)">verifyTemplatedRole</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Check a role template is complete in the RBAC store.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="createTemplatedRole(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplatedRole</h4>
<pre class="methodSignature">@Path("createTemplatedRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.51">createTemplatedRole</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("resource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="removeTemplatedRole(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTemplatedRole</h4>
<pre class="methodSignature">@Path("removeTemplatedRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.67">removeTemplatedRole</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("resource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">removes a role corresponding to the role Id that was manufactured with the given resource
it also removes any user assignments for that role</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateId</code> - </dd>
<dd><code>resource</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="updateRole(java.lang.String,java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRole</h4>
<pre class="methodSignature">@Path("updateRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.86">updateRole</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("oldResource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;oldResource,
@QueryParam("newResource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;newResource)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">allows for a role coming from a template to be renamed effectively swapping out the bits of it that
were labeled with the oldResource with the newResource
it also manages any user assignments for that role</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateId</code> - </dd>
<dd><code>oldResource</code> - </dd>
<dd><code>newResource</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="assignRole(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignRole</h4>
<pre class="methodSignature">@Path("assignRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.101">assignRole</a>&#8203;(@QueryParam("roleId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId,
@QueryParam("principal")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the role indicated by the roleId to the given principal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>roleId</code> - </dd>
<dd><code>principal</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="assignRoleByName(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignRoleByName</h4>
<pre class="methodSignature">@Path("assignRoleByName")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.115">assignRoleByName</a>&#8203;(@QueryParam("roleName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
@QueryParam("principal")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the role indicated by the roleName to the given principal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>roleName</code> - </dd>
<dd><code>principal</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="assignTemplatedRole(java.lang.String,java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignTemplatedRole</h4>
<pre class="methodSignature">@Path("assignTemplatedRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.131">assignTemplatedRole</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("resource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource,
@QueryParam("principal")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Assigns the templated role indicated by the templateId
fails if the templated role has not been created</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateId</code> - </dd>
<dd><code>resource</code> - </dd>
<dd><code>principal</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="unassignRole(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unassignRole</h4>
<pre class="methodSignature">@Path("unassignRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.147">unassignRole</a>&#8203;(@QueryParam("roleId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId,
@QueryParam("principal")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Unassigns the role indicated by the role id from the given principal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>roleId</code> - </dd>
<dd><code>principal</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="unassignRoleByName(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unassignRoleByName</h4>
<pre class="methodSignature">@Path("unassignRoleByName")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.161">unassignRoleByName</a>&#8203;(@QueryParam("roleName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
@QueryParam("principal")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;principal)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Unassigns the role indicated by the role name from the given principal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>roleName</code> - </dd>
<dd><code>principal</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="roleExists(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>roleExists</h4>
<pre class="methodSignature">@Path("roleExists")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.175">roleExists</a>&#8203;(@QueryParam("roleId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleId)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">true of a role exists with the given roleId</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>roleId</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="templatedRoleExists(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>templatedRoleExists</h4>
<pre class="methodSignature">@Path("templatedRoleExists")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.190">templatedRoleExists</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("resource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">true of a role exists with the given roleId</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateId</code> - </dd>
<dd><code>resource</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="verifyTemplatedRole(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>verifyTemplatedRole</h4>
<pre class="methodSignature">@Path("verifyTemplatedRole")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/VerificationStatus.html" title="class in org.apache.archiva.redback.rest.api.model">VerificationStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.206">verifyTemplatedRole</a>&#8203;(@QueryParam("templateId")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;templateId,
@QueryParam("resource")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resource)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Check a role template is complete in the RBAC store.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateId</code> - the templated role</dd>
<dd><code>resource</code> - the resource to verify</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a id="getEffectivelyAssignedRoles(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEffectivelyAssignedRoles</h4>
<pre class="methodSignature">@Path("getEffectivelyAssignedRoles/{username}")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.217">getEffectivelyAssignedRoles</a>&#8203;(@PathParam("username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a id="getAllRoles()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllRoles</h4>
<pre class="methodSignature">@Path("allRoles")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.228">getAllRoles</a>()
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="getDetailedAllRoles()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDetailedAllRoles</h4>
<pre class="methodSignature">@Path("detailledAllRoles")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.238">getDetailedAllRoles</a>()
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="getApplications(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplications</h4>
<pre class="methodSignature">@Path("getApplications/{username}")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/Application.html" title="class in org.apache.archiva.redback.rest.api.model">Application</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.249">getApplications</a>&#8203;(@PathParam("username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="getRole(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRole</h4>
<pre class="methodSignature">@Path("getRole/{roleName}")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.260">getRole</a>&#8203;(@PathParam("roleName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="updateRoleDescription(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRoleDescription</h4>
<pre class="methodSignature">@Path("updateRoleDescription")
@GET
@Produces({"application/json","application/xml","text/plain"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.270">updateRoleDescription</a>&#8203;(@QueryParam("roleName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;roleName,
@QueryParam("roleDescription")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="updateRoleUsers(org.apache.archiva.redback.rest.api.model.Role)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRoleUsers</h4>
<pre class="methodSignature">@Path("updateRoleUsers")
@POST
@Produces({"application/json","application/xml"})
@Consumes({"application/json","application/xml"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.282">updateRoleUsers</a>&#8203;(<a href="../model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&nbsp;role)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">update users assigned to a role</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="getApplicationRoles(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationRoles</h4>
<pre class="methodSignature">@Path("getApplicationRoles/{username}")
@GET
@Produces({"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../model/ApplicationRoles.html" title="class in org.apache.archiva.redback.rest.api.model">ApplicationRoles</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.293">getApplicationRoles</a>&#8203;(@PathParam("username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;username)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a id="updateUserRoles(org.apache.archiva.redback.rest.api.model.User)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateUserRoles</h4>
<pre class="methodSignature">@Path("updateUserRoles")
@POST
@Produces({"application/json","application/xml"})
@Consumes({"application/json","application/xml"})
<a href="../model/ActionStatus.html" title="class in org.apache.archiva.redback.rest.api.model">ActionStatus</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.304">updateUserRoles</a>&#8203;(<a href="../model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">update roles assigned to a user</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RoleManagementService.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>