cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/view/IAuthenticationComponent.java @ 5f8a1cb3
1 |
package eu.etaxonomy.cdm.vaadin.view; |
---|---|
2 |
|
3 |
import java.net.URI; |
4 |
|
5 |
|
6 |
|
7 |
public interface IAuthenticationComponent { |
8 |
|
9 |
public interface AuthenticationComponentListener { |
10 |
|
11 |
/**
|
12 |
* @param uri
|
13 |
* @param context
|
14 |
* @param userName
|
15 |
* @param password
|
16 |
* @return
|
17 |
*/
|
18 |
boolean login(URI uri, String context, String userName, String password); |
19 |
}
|
20 |
public void addListener(AuthenticationComponentListener listener); |
21 |
|
22 |
|
23 |
}
|