public class SecurityInterceptor extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Modifier and Type | Field and Description |
---|---|
protected NotificationAuthorizationService |
notificationAuthzService |
Constructor and Description |
---|
SecurityInterceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Decorate the incoming request with an attribute that indicates whether the user is a Notification System administrator
|
void |
setNotificationAuthorizationService(NotificationAuthorizationService notificationAuthzService)
Sets the NotificationAuthorizationService member
|
protected NotificationAuthorizationService notificationAuthzService
public SecurityInterceptor()
public void setNotificationAuthorizationService(NotificationAuthorizationService notificationAuthzService)
notificationAuthzService
- NotificationAuthorizationService used to determine whether user is administratorpublic boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
preHandle
in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Exception
HandlerInterceptorAdapter.preHandle(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.Object)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.