public class LoginInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
INVITEES |
static String |
PERSON_SESSION_KEY |
static String |
USER_STATUS_SESSION_KEY |
| Constructor and Description |
|---|
LoginInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected CoinEnvironment |
getCoinEnvironment() |
protected String |
getRemoteUser(javax.servlet.http.HttpServletRequest request)
Hook for subclasses to override the shibboleth default behaviour
|
protected String |
getUserStatus(javax.servlet.http.HttpServletRequest request)
Hook for subclasses to override the shibboleth default behaviour
|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
void |
setCoinEnvironment(CoinEnvironment coinEnvironment) |
void |
setErrorMessageMailer(nl.surfnet.coin.shared.service.ErrorMessageMailer errorMessageMailer) |
void |
setPersonService(nl.surfnet.coin.opensocial.service.PersonService personService) |
public static final String PERSON_SESSION_KEY
public static final String USER_STATUS_SESSION_KEY
public static final String INVITEES
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
preHandle in interface org.springframework.web.servlet.HandlerInterceptorpreHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionprotected String getRemoteUser(javax.servlet.http.HttpServletRequest request)
request - the httpRequestprotected String getUserStatus(javax.servlet.http.HttpServletRequest request)
request - the httpRequestpublic void setPersonService(nl.surfnet.coin.opensocial.service.PersonService personService)
personService - the personService to setpublic void setCoinEnvironment(CoinEnvironment coinEnvironment)
coinEnvironment - the coinEnvironment to setprotected CoinEnvironment getCoinEnvironment()
public void setErrorMessageMailer(nl.surfnet.coin.shared.service.ErrorMessageMailer errorMessageMailer)
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.