[JAVA-961] Standardize packages in spring-security-modules: spring-security-rest-basic-auth

This commit is contained in:
dupirefr 2020-03-19 21:27:36 +01:00
parent b993d0762d
commit 43299dc082
16 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.basic; package com.baeldung.basic;
import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint; import org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint;

View File

@ -1,4 +1,4 @@
package org.baeldung.client; package com.baeldung.client;
import org.apache.http.HttpHost; import org.apache.http.HttpHost;
import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.FactoryBean;

View File

@ -1,4 +1,4 @@
package org.baeldung.client.spring; package com.baeldung.client.spring;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package org.baeldung.filter; package com.baeldung.filter;
import org.springframework.web.filter.GenericFilterBean; import org.springframework.web.filter.GenericFilterBean;

View File

@ -1,6 +1,6 @@
package org.baeldung.filter; package com.baeldung.filter;
import org.baeldung.security.RestAuthenticationEntryPoint; import com.baeldung.security.RestAuthenticationEntryPoint;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring; package com.baeldung.spring;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

View File

@ -1,9 +1,9 @@
package org.baeldung.web.controller; package com.baeldung.web.controller;
import java.nio.charset.Charset; import java.nio.charset.Charset;
import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary.Base64;
import org.baeldung.web.dto.Bar; import com.baeldung.web.dto.Bar;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEventPublisher; import org.springframework.context.ApplicationEventPublisher;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;

View File

@ -1,6 +1,6 @@
package org.baeldung.web.controller; package com.baeldung.web.controller;
import org.baeldung.web.dto.Foo; import com.baeldung.web.dto.Foo;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEventPublisher; import org.springframework.context.ApplicationEventPublisher;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;

View File

@ -1,4 +1,4 @@
package org.baeldung.web.dto; package com.baeldung.web.dto;
import java.io.Serializable; import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.baeldung.web.dto; package com.baeldung.web.dto;
import java.io.Serializable; import java.io.Serializable;

View File

@ -23,6 +23,6 @@
<global-method-security pre-post-annotations="enabled"/> <global-method-security pre-post-annotations="enabled"/>
<beans:bean id="myBasicAuthenticationEntryPoint" class="org.baeldung.basic.MyBasicAuthenticationEntryPoint" /> <beans:bean id="myBasicAuthenticationEntryPoint" class="com.baeldung.basic.MyBasicAuthenticationEntryPoint" />
</beans:beans> </beans:beans>

View File

@ -1,4 +1,4 @@
package org.baeldung; package com.baeldung;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;