blob: 655c28237bee4c7ff95c670dab0e828e6b9ab824 [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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DefaultUserRepositories (Archiva :: Modules 2.2.3 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultUserRepositories (Archiva :: Modules 2.2.3 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/DefaultUserRepositories.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/security/ArchivaStandardRolesCheck.html" title="class in org.apache.archiva.security"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/archiva/security/DefaultUserRepositories.html" target="_top">Frames</a></li>
<li><a href="DefaultUserRepositories.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All 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><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&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.security</div>
<h2 title="Class DefaultUserRepositories" class="title">Class DefaultUserRepositories</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.archiva.security.DefaultUserRepositories</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></dd>
</dl>
<hr>
<br>
<pre>@Service(value="userRepositories")
public class <a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.48">DefaultUserRepositories</a>
extends <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></pre>
<div class="block">DefaultUserRepositories</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private org.slf4j.Logger</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#log">log</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../org/apache/archiva/admin/model/managed/ManagedRepositoryAdmin.html" title="interface in org.apache.archiva.admin.model.managed">ManagedRepositoryAdmin</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#managedRepositoryAdmin">managedRepositoryAdmin</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private org.apache.archiva.redback.role.RoleManager</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#roleManager">roleManager</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private org.apache.archiva.redback.system.SecuritySystem</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#securitySystem">securitySystem</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#DefaultUserRepositories()">DefaultUserRepositories</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#createMissingRepositoryRoles(java.lang.String)">createMissingRepositoryRoles</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)</code>
<div class="block">Create any missing repository roles for the provided repository id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private org.apache.archiva.redback.system.SecuritySession</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#createSession(java.lang.String)">createSession</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getAccessibleRepositories(java.lang.String)">getAccessibleRepositories</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getAccessibleRepositories(java.lang.String,%20java.lang.String)">getAccessibleRepositories</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;operation)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getAccessibleRepositoryIds(java.lang.String,%20java.lang.String)">getAccessibleRepositoryIds</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;operation)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getManagableRepositories(java.lang.String)">getManagableRepositories</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal)</code>
<div class="block">Returns a list of repositories for which the user has the manager role.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getManagableRepositoryIds(java.lang.String)">getManagableRepositoryIds</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal)</code>
<div class="block">Get the list of writable repository ids for the user specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getObservableRepositoryIds(java.lang.String)">getObservableRepositoryIds</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal)</code>
<div class="block">Get the list of observable repository ids for the user specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.archiva.redback.role.RoleManager</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getRoleManager()">getRoleManager</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.archiva.redback.system.SecuritySystem</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#getSecuritySystem()">getSecuritySystem</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#isAuthorizedToDeleteArtifacts(java.lang.String,%20java.lang.String)">isAuthorizedToDeleteArtifacts</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)</code>
<div class="block">Check if user is authorized to delete artifacts in the repository.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#isAuthorizedToUploadArtifacts(java.lang.String,%20java.lang.String)">isAuthorizedToUploadArtifacts</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)</code>
<div class="block">Check if user is authorized to upload artifacts in the repository.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#setRoleManager(org.apache.archiva.redback.role.RoleManager)">setRoleManager</a></strong>(org.apache.archiva.redback.role.RoleManager&nbsp;roleManager)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/archiva/security/DefaultUserRepositories.html#setSecuritySystem(org.apache.archiva.redback.system.SecuritySystem)">setSecuritySystem</a></strong>(org.apache.archiva.redback.system.SecuritySystem&nbsp;securitySystem)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="securitySystem">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>securitySystem</h4>
<pre>@Inject
private&nbsp;org.apache.archiva.redback.system.SecuritySystem <a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.53">securitySystem</a></pre>
</li>
</ul>
<a name="roleManager">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>roleManager</h4>
<pre>@Inject
private&nbsp;org.apache.archiva.redback.role.RoleManager <a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.56">roleManager</a></pre>
</li>
</ul>
<a name="managedRepositoryAdmin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>managedRepositoryAdmin</h4>
<pre>@Inject
private&nbsp;<a href="../../../../org/apache/archiva/admin/model/managed/ManagedRepositoryAdmin.html" title="interface in org.apache.archiva.admin.model.managed">ManagedRepositoryAdmin</a> <a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.59">managedRepositoryAdmin</a></pre>
</li>
</ul>
<a name="log">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>log</h4>
<pre>private&nbsp;org.slf4j.Logger <a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.61">log</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultUserRepositories()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultUserRepositories</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.48">DefaultUserRepositories</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getObservableRepositoryIds(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObservableRepositoryIds</h4>
<pre>public&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.64">getObservableRepositoryIds</a>(<a href="http://java.sun.com/j2se/1.5.0/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/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getObservableRepositoryIds(java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Get the list of observable repository ids for the user specified.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getObservableRepositoryIds(java.lang.String)">getObservableRepositoryIds</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>principal</code> - the principle to obtain the observable repository ids from.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the list of observable repository ids.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd></dl>
</li>
</ul>
<a name="getManagableRepositoryIds(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManagableRepositoryIds</h4>
<pre>public&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.73">getManagableRepositoryIds</a>(<a href="http://java.sun.com/j2se/1.5.0/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/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getManagableRepositoryIds(java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Get the list of writable repository ids for the user specified.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getManagableRepositoryIds(java.lang.String)">getManagableRepositoryIds</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>principal</code> - the principle to obtain the observable repository ids from.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the list of observable repository ids.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd></dl>
</li>
</ul>
<a name="getAccessibleRepositoryIds(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessibleRepositoryIds</h4>
<pre>private&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.81">getAccessibleRepositoryIds</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;operation)
throws <a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd></dl>
</li>
</ul>
<a name="getAccessibleRepositories(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessibleRepositories</h4>
<pre>public&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.96">getAccessibleRepositories</a>(<a href="http://java.sun.com/j2se/1.5.0/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/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getAccessibleRepositories(java.lang.String)">getAccessibleRepositories</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd></dl>
</li>
</ul>
<a name="getManagableRepositories(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManagableRepositories</h4>
<pre>public&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.103">getManagableRepositories</a>(<a href="http://java.sun.com/j2se/1.5.0/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/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getManagableRepositories(java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Returns a list of repositories for which the user has the manager role.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#getManagableRepositories(java.lang.String)">getManagableRepositories</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd></dl>
</li>
</ul>
<a name="getAccessibleRepositories(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessibleRepositories</h4>
<pre>private&nbsp;<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/archiva/admin/model/beans/ManagedRepository.html" title="class in org.apache.archiva.admin.model.beans">ManagedRepository</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.107">getAccessibleRepositories</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;operation)
throws <a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a>,
<a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd></dl>
</li>
</ul>
<a name="createSession(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSession</h4>
<pre>private&nbsp;org.apache.archiva.redback.system.SecuritySession&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.146">createSession</a>(<a href="http://java.sun.com/j2se/1.5.0/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/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a>,
<a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd></dl>
</li>
</ul>
<a name="createMissingRepositoryRoles(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMissingRepositoryRoles</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.179">createMissingRepositoryRoles</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)
throws <a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#createMissingRepositoryRoles(java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Create any missing repository roles for the provided repository id.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#createMissingRepositoryRoles(java.lang.String)">createMissingRepositoryRoles</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>repoId</code> - the repository id to work off of.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code> - if there was a problem creating the repository roles.</dd></dl>
</li>
</ul>
<a name="isAuthorizedToUploadArtifacts(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAuthorizedToUploadArtifacts</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.202">isAuthorizedToUploadArtifacts</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)
throws <a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a>,
<a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#isAuthorizedToUploadArtifacts(java.lang.String,%20java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Check if user is authorized to upload artifacts in the repository.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#isAuthorizedToUploadArtifacts(java.lang.String,%20java.lang.String)">isAuthorizedToUploadArtifacts</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security">PrincipalNotFoundException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd></dl>
</li>
</ul>
<a name="isAuthorizedToDeleteArtifacts(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAuthorizedToDeleteArtifacts</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.220">isAuthorizedToDeleteArtifacts</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repoId)
throws <a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html#isAuthorizedToDeleteArtifacts(java.lang.String,%20java.lang.String)">UserRepositories</a></code></strong></div>
<div class="block">Check if user is authorized to delete artifacts in the repository.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/archiva/security/UserRepositories.html#isAuthorizedToDeleteArtifacts(java.lang.String,%20java.lang.String)">isAuthorizedToDeleteArtifacts</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/archiva/security/UserRepositories.html" title="interface in org.apache.archiva.security">UserRepositories</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/archiva/security/ArchivaSecurityException.html" title="class in org.apache.archiva.security">ArchivaSecurityException</a></code></dd>
<dd><code><a href="../../../../org/apache/archiva/security/AccessDeniedException.html" title="class in org.apache.archiva.security">AccessDeniedException</a></code></dd></dl>
</li>
</ul>
<a name="getSecuritySystem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSecuritySystem</h4>
<pre>public&nbsp;org.apache.archiva.redback.system.SecuritySystem&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.237">getSecuritySystem</a>()</pre>
</li>
</ul>
<a name="setSecuritySystem(org.apache.archiva.redback.system.SecuritySystem)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSecuritySystem</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.242">setSecuritySystem</a>(org.apache.archiva.redback.system.SecuritySystem&nbsp;securitySystem)</pre>
</li>
</ul>
<a name="getRoleManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoleManager</h4>
<pre>public&nbsp;org.apache.archiva.redback.role.RoleManager&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.247">getRoleManager</a>()</pre>
</li>
</ul>
<a name="setRoleManager(org.apache.archiva.redback.role.RoleManager)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setRoleManager</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/archiva/security/DefaultUserRepositories.html#line.252">setRoleManager</a>(org.apache.archiva.redback.role.RoleManager&nbsp;roleManager)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/DefaultUserRepositories.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/security/ArchivaStandardRolesCheck.html" title="class in org.apache.archiva.security"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/archiva/security/PrincipalNotFoundException.html" title="class in org.apache.archiva.security"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/archiva/security/DefaultUserRepositories.html" target="_top">Frames</a></li>
<li><a href="DefaultUserRepositories.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All 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><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&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;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>