Subversion Repositories SmartDukaan

Rev

Rev 23784 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23784 Rev 23798
Line 9... Line 9...
9
import org.springframework.stereotype.Component;
9
import org.springframework.stereotype.Component;
10
import org.springframework.web.servlet.HandlerInterceptor;
10
import org.springframework.web.servlet.HandlerInterceptor;
11
import org.springframework.web.servlet.ModelAndView;
11
import org.springframework.web.servlet.ModelAndView;
12
 
12
 
13
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
13
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
14
import com.spice.profitmandi.service.authentication.RoleManager;
14
import com.spice.profitmandi.web.model.LoginDetails;
15
import com.spice.profitmandi.web.model.LoginDetails;
15
import com.spice.profitmandi.web.util.CookiesProcessor;
16
import com.spice.profitmandi.web.util.CookiesProcessor;
16
import com.spice.profitmandi.web.util.RoleManager;
-
 
17
 
17
 
18
@Component
18
@Component
19
public class RoleInterceptor implements HandlerInterceptor {
19
public class RoleInterceptor implements HandlerInterceptor {
20
	
20
	
21
	@Autowired
21
	@Autowired