From b1861f326a834865f1d700745dfb5f1b1596ba1f Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Sat, 10 Dec 2016 22:58:20 +0700 Subject: Api authorization entry point renamed --- .../main/java/com/juick/api/configuration/ApiSecurityConfig.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-api/src/main') diff --git a/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java b/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java index 5c95e416..2d3540ab 100644 --- a/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java +++ b/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java @@ -1,6 +1,6 @@ package com.juick.api.configuration; -import com.juick.server.security.JuickAuthenticationEntryPoint; +import com.juick.server.security.ForbiddenStatusAuthenticationEntryPoint; import com.juick.service.UserService; import com.juick.service.security.JuickUserDetailsService; import com.juick.service.security.deprecated.RequestParamHashRememberMeServices; @@ -82,8 +82,8 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { } @Bean - public JuickAuthenticationEntryPoint getJuickAuthenticationEntryPoint() { - return new JuickAuthenticationEntryPoint(); + public ForbiddenStatusAuthenticationEntryPoint getJuickAuthenticationEntryPoint() { + return new ForbiddenStatusAuthenticationEntryPoint(); } @Bean -- cgit v1.2.3