Subversion Repositories SmartDukaan

Rev

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

Rev 22139 Rev 22151
Line 30... Line 30...
30
	   registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
30
	   registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
31
	}
31
	}
32
	
32
	
33
	@Override
33
	@Override
34
	public void addInterceptors(InterceptorRegistry registry) {
34
	public void addInterceptors(InterceptorRegistry registry) {
35
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/");
35
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/", "/", "");
36
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/");
36
		registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/", "", "/");
37
	}
37
	}
38
	
38
	
39
}
39
}