public class RepositoryMap extends Object
Constructor and Description |
---|
RepositoryMap() |
Modifier and Type | Method and Description |
---|---|
void |
addLogin(String username,
String password)
Adds a login.
|
void |
addRepository(FileShareRepository fsr)
Adds a repository object.
|
void |
authenticate(CallContext context)
Takes user and password from the CallContext and checks them.
|
Collection<FileShareRepository> |
getRepositories()
Returns all repository objects.
|
FileShareRepository |
getRepository(String repositoryId)
Gets a repository object by id.
|
public void addRepository(FileShareRepository fsr)
public FileShareRepository getRepository(String repositoryId)
public void authenticate(CallContext context)
public Collection<FileShareRepository> getRepositories()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.