Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Commit 9fcc918

Browse files
committed
Added configurable username and password
1 parent e1a04b7 commit 9fcc918

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
43
<modelVersion>4.0.0</modelVersion>
54

65
<groupId>com.mycompany</groupId>
@@ -48,7 +47,8 @@
4847
<artifactId>spring-core</artifactId>
4948
</sharedLibrary>
5049
</sharedLibraries>
51-
</configuration>
50+
<classifier>mule-application</classifier>
51+
</configuration>
5252
</plugin>
5353
</plugins>
5454
</build>

src/main/resources/beans.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ss:authentication-manager alias="authenticationManager">
1616
<ss:authentication-provider>
1717
<ss:user-service id="userService">
18-
<ss:user name="admin" password="admin" authorities="ROLE_ADMIN" />
18+
<ss:user name="${user:vpc-tools}" password="${pass:SomePass}" authorities="ROLE_ADMIN" />
1919
</ss:user-service>
2020
</ss:authentication-provider>
2121
</ss:authentication-manager>

0 commit comments

Comments
 (0)