|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.security.DefaultUserRepositories
public class DefaultUserRepositories
DefaultUserRepositories
| Constructor Summary | |
|---|---|
DefaultUserRepositories()
|
|
| Method Summary | |
|---|---|
void |
createMissingRepositoryRoles(java.lang.String repoId)
Create any missing repository roles for the provided repository id. |
java.util.List<java.lang.String> |
getManagableRepositoryIds(java.lang.String principal)
Get the list of writable repository ids for the user specified. |
java.util.List<java.lang.String> |
getObservableRepositoryIds(java.lang.String principal)
Get the list of observable repository ids for the user specified. |
boolean |
isAuthorizedToDeleteArtifacts(java.lang.String principal,
java.lang.String repoId)
Check if user is authorized to delete artifacts in the repository. |
boolean |
isAuthorizedToUploadArtifacts(java.lang.String principal,
java.lang.String repoId)
Check if user is authorized to upload artifacts in the repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUserRepositories()
| Method Detail |
|---|
public java.util.List<java.lang.String> getObservableRepositoryIds(java.lang.String principal)
throws PrincipalNotFoundException,
AccessDeniedException,
ArchivaSecurityException
UserRepositories
getObservableRepositoryIds in interface UserRepositoriesprincipal - the principle to obtain the observable repository ids from.
PrincipalNotFoundException
AccessDeniedException
ArchivaSecurityException
public java.util.List<java.lang.String> getManagableRepositoryIds(java.lang.String principal)
throws PrincipalNotFoundException,
AccessDeniedException,
ArchivaSecurityException
UserRepositories
getManagableRepositoryIds in interface UserRepositoriesprincipal - the principle to obtain the observable repository ids from.
PrincipalNotFoundException
AccessDeniedException
ArchivaSecurityException
public void createMissingRepositoryRoles(java.lang.String repoId)
throws ArchivaSecurityException
UserRepositories
createMissingRepositoryRoles in interface UserRepositoriesrepoId - the repository id to work off of.
ArchivaSecurityException - if there was a problem creating the repository roles.
public boolean isAuthorizedToUploadArtifacts(java.lang.String principal,
java.lang.String repoId)
throws PrincipalNotFoundException,
ArchivaSecurityException
UserRepositories
isAuthorizedToUploadArtifacts in interface UserRepositoriesPrincipalNotFoundException
ArchivaSecurityException
public boolean isAuthorizedToDeleteArtifacts(java.lang.String principal,
java.lang.String repoId)
throws AccessDeniedException,
ArchivaSecurityException
UserRepositories
isAuthorizedToDeleteArtifacts in interface UserRepositoriesAccessDeniedException
ArchivaSecurityException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||