Subversion Repositories SmartDukaan

Rev

Rev 25770 | Rev 25976 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25770 Rev 25771
Line 49... Line 49...
49
	}
49
	}
50
	
50
	
51
	@Override
51
	@Override
52
	public void addInterceptors(InterceptorRegistry registry) {
52
	public void addInterceptors(InterceptorRegistry registry) {
53
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/","/forgetPassword","/forgetPassword/", "/", "/checkplans", "/12dashboard34");
53
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/","/forgetPassword","/forgetPassword/", "/", "/checkplans", "/12dashboard34");
54
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","");
54
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","", "/12dashboard34");
55
	}
55
	}
56
	
56
	
57
	@Override
57
	@Override
58
    public void addFormatters(FormatterRegistry registry) {
58
    public void addFormatters(FormatterRegistry registry) {
59
        DateTimeFormatterRegistrar registrar = new DateTimeFormatterRegistrar();
59
        DateTimeFormatterRegistrar registrar = new DateTimeFormatterRegistrar();