|
|
@ -1,10 +1,20 @@ |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
/** |
|
|
|
* Credential Repository for handling user credentials |
|
|
|
* @author Claudia Metzler |
|
|
|
*/ |
|
|
|
|
|
|
|
public class CredentialRepository implements CredentialRepositoryInterface{ |
|
|
|
|
|
|
|
private int idCounter = 0; |
|
|
|
private ArrayList<Credential> credentials; |
|
|
|
|
|
|
|
/** |
|
|
|
* Konstruktor |
|
|
|
* |
|
|
|
* Initializes instance variable ArrayList |
|
|
|
*/ |
|
|
|
public CredentialRepository() |
|
|
|
{ |
|
|
|
this.credentials = new ArrayList<Credential>(); |
|
|
|