blob: 0c048268c0ede5016271e7f7924612adf316c936 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RoleManagementService (Apache Archiva Redback 3.0.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.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 methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.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">
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/archiva/redback/rest/api/services/RoleManagementService.html" target="_top">Frames</a></li>
<li><a href="RoleManagementService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.archiva.redback.rest.api.services</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><a href="../../../../../../../org/apache/archiva/redback/rest/services/DefaultRoleManagementService.html" title="class in org.apache.archiva.redback.rest.services">DefaultRoleManagementService</a></dd>
</dl>
<hr>
<br>
<pre>@Path(value="/roleManagementService/")
public interface <a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.42">RoleManagementService</a></pre>
<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 =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" 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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#assignRole-java.lang.String-java.lang.String-">assignRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;principal)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#assignRoleByName-java.lang.String-java.lang.String-">assignRoleByName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;principal)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#assignTemplatedRole-java.lang.String-java.lang.String-java.lang.String-">assignTemplatedRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">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">String</a>&nbsp;principal)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#createTemplatedRole-java.lang.String-java.lang.String-">createTemplatedRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;resource)</code>&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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getAllRoles--">getAllRoles</a></span>()</code>&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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/ApplicationRoles.html" title="class in org.apache.archiva.redback.rest.api.model">ApplicationRoles</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getApplicationRoles-java.lang.String-">getApplicationRoles</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Application.html" title="class in org.apache.archiva.redback.rest.api.model">Application</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getApplications-java.lang.String-">getApplications</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getDetailedAllRoles--">getDetailedAllRoles</a></span>()</code>&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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getEffectivelyAssignedRoles-java.lang.String-">getEffectivelyAssignedRoles</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#getRole-java.lang.String-">getRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;roleName)</code>&nbsp;</td>
</tr>
<tr id="i10" 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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#removeTemplatedRole-java.lang.String-java.lang.String-">removeTemplatedRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;resource)</code>
<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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#roleExists-java.lang.String-">roleExists</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;roleId)</code>
<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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#templatedRoleExists-java.lang.String-java.lang.String-">templatedRoleExists</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;resource)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#unassignRole-java.lang.String-java.lang.String-">unassignRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;principal)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#unassignRoleByName-java.lang.String-java.lang.String-">unassignRoleByName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;principal)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#updateRole-java.lang.String-java.lang.String-java.lang.String-">updateRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">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">String</a>&nbsp;newResource)</code>
<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="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#updateRoleDescription-java.lang.String-java.lang.String-">updateRoleDescription</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;description)</code>&nbsp;</td>
</tr>
<tr id="i17" 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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#updateRoleUsers-org.apache.archiva.redback.rest.api.model.Role-">updateRoleUsers</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&nbsp;role)</code>
<div class="block">update users assigned to a role</div>
</td>
</tr>
<tr id="i18" 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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#updateUserRoles-org.apache.archiva.redback.rest.api.model.User-">updateUserRoles</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code>
<div class="block">update roles assigned to a user</div>
</td>
</tr>
<tr id="i19" 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">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RoleManagementService.html#verifyTemplatedRole-java.lang.String-java.lang.String-">verifyTemplatedRole</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;resource)</code>
<div class="block">Check a role template is complete in the RBAC store.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createTemplatedRole-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplatedRole</h4>
<pre>@Path(value="createTemplatedRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.49">createTemplatedRole</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;resource)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="removeTemplatedRole-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTemplatedRole</h4>
<pre>@Path(value="removeTemplatedRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.65">removeTemplatedRole</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;resource)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="updateRole-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRole</h4>
<pre>@Path(value="updateRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.84">updateRole</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;oldResource,
@QueryParam(value="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">String</a>&nbsp;newResource)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="assignRole-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignRole</h4>
<pre>@Path(value="assignRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.99">assignRole</a>(@QueryParam(value="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">String</a>&nbsp;roleId,
@QueryParam(value="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">String</a>&nbsp;principal)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="assignRoleByName-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignRoleByName</h4>
<pre>@Path(value="assignRoleByName")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.113">assignRoleByName</a>(@QueryParam(value="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">String</a>&nbsp;roleName,
@QueryParam(value="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">String</a>&nbsp;principal)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="assignTemplatedRole-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignTemplatedRole</h4>
<pre>@Path(value="assignTemplatedRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.129">assignTemplatedRole</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;resource,
@QueryParam(value="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">String</a>&nbsp;principal)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="unassignRole-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unassignRole</h4>
<pre>@Path(value="unassignRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.145">unassignRole</a>(@QueryParam(value="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">String</a>&nbsp;roleId,
@QueryParam(value="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">String</a>&nbsp;principal)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="unassignRoleByName-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unassignRoleByName</h4>
<pre>@Path(value="unassignRoleByName")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.159">unassignRoleByName</a>(@QueryParam(value="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">String</a>&nbsp;roleName,
@QueryParam(value="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">String</a>&nbsp;principal)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="roleExists-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>roleExists</h4>
<pre>@Path(value="roleExists")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.173">roleExists</a>(@QueryParam(value="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">String</a>&nbsp;roleId)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="templatedRoleExists-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>templatedRoleExists</h4>
<pre>@Path(value="templatedRoleExists")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.188">templatedRoleExists</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;resource)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="verifyTemplatedRole-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>verifyTemplatedRole</h4>
<pre>@Path(value="verifyTemplatedRole")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.204">verifyTemplatedRole</a>(@QueryParam(value="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">String</a>&nbsp;templateId,
@QueryParam(value="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">String</a>&nbsp;resource)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<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="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="getEffectivelyAssignedRoles-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEffectivelyAssignedRoles</h4>
<pre>@Path(value="getEffectivelyAssignedRoles/{username}")
@GET
@Produces(value={"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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.215">getEffectivelyAssignedRoles</a>(@PathParam(value="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">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="getAllRoles--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllRoles</h4>
<pre>@Path(value="allRoles")
@GET
@Produces(value={"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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.226">getAllRoles</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="getDetailedAllRoles--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDetailedAllRoles</h4>
<pre>@Path(value="detailledAllRoles")
@GET
@Produces(value={"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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.236">getDetailedAllRoles</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="getApplications-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplications</h4>
<pre>@Path(value="getApplications/{username}")
@GET
@Produces(value={"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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.247">getApplications</a>(@PathParam(value="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">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="getRole-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRole</h4>
<pre>@Path(value="getRole/{roleName}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.258">getRole</a>(@PathParam(value="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">String</a>&nbsp;roleName)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="updateRoleDescription-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRoleDescription</h4>
<pre>@Path(value="updateRoleDescription")
@GET
@Produces(value={"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">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.268">updateRoleDescription</a>(@QueryParam(value="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">String</a>&nbsp;roleName,
@QueryParam(value="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">String</a>&nbsp;description)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="updateRoleUsers-org.apache.archiva.redback.rest.api.model.Role-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRoleUsers</h4>
<pre>@Path(value="updateRoleUsers")
@POST
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.281">updateRoleUsers</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Role.html" title="class in org.apache.archiva.redback.rest.api.model">Role</a>&nbsp;role)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">update users assigned to a role</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="getApplicationRoles-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationRoles</h4>
<pre>@Path(value="getApplicationRoles/{username}")
@GET
@Produces(value={"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">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/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.291">getApplicationRoles</a>(@PathParam(value="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">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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 name="updateUserRoles-org.apache.archiva.redback.rest.api.model.User-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateUserRoles</h4>
<pre>@Path(value="updateUserRoles")
@POST
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/RoleManagementService.html#line.303">updateUserRoles</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">update roles assigned to a user</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/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>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.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">
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/archiva/redback/rest/api/services/RoleManagementService.html" target="_top">Frames</a></li>
<li><a href="RoleManagementService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.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>
</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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2019 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>