cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/view/IAuthenticationComponent.java @ 6f0224b6
1 | ead0a1ab | Cherian Mathew | package eu.etaxonomy.cdm.vaadin.view; |
---|---|---|---|
2 | |||
3 | 93fcde18 | Cherian Mathew | import java.net.URI; |
4 | |||
5 | ead0a1ab | Cherian Mathew | |
6 | |||
7 | public interface IAuthenticationComponent { |
||
8 | 93fcde18 | Cherian Mathew | |
9 | ead0a1ab | Cherian Mathew | public interface AuthenticationComponentListener { |
10 | 93fcde18 | Cherian Mathew | |
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 | ead0a1ab | Cherian Mathew | }
|
20 | public void addListener(AuthenticationComponentListener listener); |
||
21 | 93fcde18 | Cherian Mathew | |
22 | ead0a1ab | Cherian Mathew | |
23 | }
|