Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/eventbus/server/AuthenticatedServerEventBusSupport.java

Diff revisions: vs.
  @@ -1,31 +1,31 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.eventbus.server;
3 -
4 - import org.litesoft.GWT.eventbus.client.*;
5 - import org.litesoft.*;
6 -
7 - public interface AuthenticatedServerEventBusSupport {
8 - public ISystemUser getLoggedInUserFromSEB( ServerEventBus pServerEventBus );
9 -
10 - public AppXtraLoginData getCurrentAppXtraLoginDataFromSEB( ServerEventBus pServerEventBus );
11 -
12 - public void clearLoggedInUserInformationOnSEB( ServerEventBus pServerEventBus );
13 -
14 - public String getLogoutMessageFromSEB( ServerEventBus pServerEventBus );
15 -
16 - public void setLogoutMessageOnSEB( ServerEventBus pServerEventBus, String pLogoutMessage );
17 -
18 - public void clearLogoutMessageOnSEB( ServerEventBus pServerEventBus );
19 -
20 - /**
21 - * Authenticate (find a SystemUser) based on the pLoginName, pPlainTextPassword.
22 - *
23 - * @return found SystemUser
24 - *
25 - * @throws AuthenticationException if No SystemUser or SystemUser not allowed to Login, Exception message is the text to the user
26 - */
27 - public ISystemUser authenticate( String pLoginName, String pPlainTextPassword )
28 - throws AuthenticationException;
29 -
30 - public void logoutRequestComplete( ServerEventBus pServerEventBus );
31 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.eventbus.server;
3 +
4 + import org.litesoft.GWT.eventbus.client.*;
5 + import org.litesoft.*;
6 +
7 + public interface AuthenticatedServerEventBusSupport {
8 + public ISystemUser getLoggedInUserFromSEB( ServerEventBus pServerEventBus );
9 +
10 + public AppXtraLoginData getCurrentAppXtraLoginDataFromSEB( ServerEventBus pServerEventBus );
11 +
12 + public void clearLoggedInUserInformationOnSEB( ServerEventBus pServerEventBus );
13 +
14 + public String getLogoutMessageFromSEB( ServerEventBus pServerEventBus );
15 +
16 + public void setLogoutMessageOnSEB( ServerEventBus pServerEventBus, String pLogoutMessage );
17 +
18 + public void clearLogoutMessageOnSEB( ServerEventBus pServerEventBus );
19 +
20 + /**
21 + * Authenticate (find a SystemUser) based on the pLoginName, pPlainTextPassword.
22 + *
23 + * @return found SystemUser
24 + *
25 + * @throws AuthenticationException if No SystemUser or SystemUser not allowed to Login, Exception message is the text to the user
26 + */
27 + public ISystemUser authenticate( String pLoginName, String pPlainTextPassword )
28 + throws AuthenticationException;
29 +
30 + public void logoutRequestComplete( ServerEventBus pServerEventBus );
31 + }