Class ChatUserAuthenticationListener
- java.lang.Object
-
- org.silverpeas.core.web.chat.listeners.ChatUserAuthenticationListener
-
- All Implemented Interfaces:
EventListener
,Initialization
,UserAuthenticationListener
@Service @Singleton public class ChatUserAuthenticationListener extends Object implements UserAuthenticationListener
This listener handles the chat initialization.
Just after a successful user authentication, doing some stuffs about the chat.
-
-
Constructor Summary
Constructors Constructor Description ChatUserAuthenticationListener(ChatUsersRegistration chatUsersRegistration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
firstHomepageAccessAfterAuthentication(javax.servlet.http.HttpServletRequest request, User user, String finalURL)
This method is called just before redirecting the user to the home page, after a successful authentication.
If it is necessary, the redirection can be overridden...-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.initialization.Initialization
getPriority
-
Methods inherited from interface org.silverpeas.core.security.authentication.UserAuthenticationListener
homepageAccessFromLoginWhenUserSessionAlreadyOpened, init, release
-
-
-
-
Constructor Detail
-
ChatUserAuthenticationListener
@Inject public ChatUserAuthenticationListener(ChatUsersRegistration chatUsersRegistration)
-
-
Method Detail
-
firstHomepageAccessAfterAuthentication
public String firstHomepageAccessAfterAuthentication(javax.servlet.http.HttpServletRequest request, User user, String finalURL)
Description copied from interface:UserAuthenticationListener
This method is called just before redirecting the user to the home page, after a successful authentication.
If it is necessary, the redirection can be overridden...- Specified by:
firstHomepageAccessAfterAuthentication
in interfaceUserAuthenticationListener
- Parameters:
request
- the current user request.user
- the current user.finalURL
- the initial URL of user redirection, just after a successful authentication.- Returns:
- the overridden url redirection, or null if no override.
-
-