1 package com.atlassian.user.security.authentication;
2
3 import com.atlassian.user.EntityException;
4 import com.atlassian.user.repository.RepositoryIdentifier;
5
6 /**
7 * Authenticator interface, add to whichever object should be capable of authenticating users.
8 */
9 public interface Authenticator
10 {
11 boolean authenticate(String username, String password) throws EntityException;
12
13 RepositoryIdentifier getRepository();
14 }