org.mmbase.applications.vprowizards.spring
Class AuthenticationInterceptor

java.lang.Object
  extended by org.springframework.web.servlet.handler.HandlerInterceptorAdapter
      extended by org.mmbase.applications.vprowizards.spring.AuthenticationInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor

public class AuthenticationInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter

Deze interceptor contoleert of het redactielid is ingelogd. Indien dit het geval is gebeurt er niets. Is het redactielid niet ingelogd dan krijgt hij een inlogpagina.

Author:
Rob Vermeulen (VPRO)
Javadoc:
(should be translated)

Constructor Summary
AuthenticationInterceptor()
           
 
Method Summary
 String getLoginPage()
           
 boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object arg2)
           
 void setLoginPage(String loginPage)
           
 
Methods inherited from class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
afterCompletion, postHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationInterceptor

public AuthenticationInterceptor()
Method Detail

preHandle

public boolean preHandle(HttpServletRequest request,
                         HttpServletResponse response,
                         Object arg2)
                  throws Exception
Specified by:
preHandle in interface org.springframework.web.servlet.HandlerInterceptor
Overrides:
preHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Throws:
Exception

getLoginPage

public String getLoginPage()

setLoginPage

public void setLoginPage(String loginPage)


MMBase 2.0-SNAPSHOT - null