Disable security in MQ Server
authorYevhen Zozulia <y.zozulia@surc.local>
Tue, 29 Aug 2017 09:24:35 +0000 (12:24 +0300)
committerYevhen Zozulia <y.zozulia@surc.local>
Thu, 31 Aug 2017 09:41:50 +0000 (12:41 +0300)
servers/mq/pom.xml
servers/mq/src/main/java/com/samsung/servermq/ServerMQ.java

index eea9053..9e11656 100644 (file)
             <artifactId>spring-boot-starter-web</artifactId>
             
         </dependency>
-
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.springframework.security</groupId>
             <artifactId>spring-security-taglibs</artifactId>
index 675d408..8ad73c2 100644 (file)
@@ -7,7 +7,9 @@ import org.springframework.context.annotation.ImportResource;
 
 @SpringBootApplication
 @ImportResource("classpath:root-context.xml")
-@EnableAutoConfiguration
+@EnableAutoConfiguration(exclude = {
+        org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class,
+        org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration.class})
 public class ServerMQ {
 
     public static void main(String[] args) {