ref #7995 invoking Registration.updateStatusAndDate() from RegistrationEditorPresenter
[cdm-vaadin.git] / src / main / java / eu / etaxonomy / cdm / vaadin / view / IAuthenticationComponent.java
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 }