Subversion Repositories SmartDukaan

Rev

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

Rev 25740 Rev 25770
Line 48... Line 48...
48
	   registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
48
	   registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
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");
53
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/","/forgetPassword","/forgetPassword/", "/", "/checkplans", "/12dashboard34");
54
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","", "/12dashboard34");
54
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","");
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();