Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 0252e80

Browse files
committed
SWITCHYARD-2574 Adding of a user in non-interactive mode on EAP/Wildfly
1 parent 460be44 commit 0252e80

File tree

15 files changed

+33
-62
lines changed

15 files changed

+33
-62
lines changed

quickstarts/bean-service/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Wildfly
4545
----------
4646
1. Start Wildfly in standalone mode :
4747

48-
${WILDFLY}/bin/standalone.sh
48+
${AS}/bin/standalone.sh
4949

5050
2. Build and deploy the Quickstart :
5151

quickstarts/bpel-jms-binding/Readme.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ EAP
1919

2020
2. Create an application user:
2121

22-
${AS}/bin/add-user.sh
23-
24-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
22+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
2523

2624
3. Build and deploy the quickstart
2725

@@ -39,12 +37,11 @@ Wildfly
3937
----------
4038
1. Start Wildfly in standalone-full mode:
4139

42-
${WILDFLY}/bin/standalone.sh --server-config=standalone-full.xml
40+
${AS}/bin/standalone.sh --server-config=standalone-full.xml
4341

4442
2. Create an application user:
4543

46-
${WILDFLY}/bin/add-user.sh
47-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
44+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
4845

4946
3. Build and deploy the quickstart
5047

quickstarts/camel-bindy/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ EAP
3737

3838
Wildfly
3939
----------
40-
1. Start EAP in standalone mode:
40+
1. Start Wildfly in standalone mode:
4141

4242
${AS}/bin/standalone.sh
4343

quickstarts/camel-jms-binding/Readme.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ EAP
1818

1919
2. Create an application user:
2020

21-
${AS}/bin/add-user.sh
22-
realm=ApplicationRealm UserName=guest Password=guestp.1 Group=guest
21+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
2322

2423
3. Build and deploy the quickstart
2524

@@ -38,14 +37,13 @@ EAP
3837

3938
Wildfly
4039
----------
41-
1. Start EAP in standalone-full mode:
40+
1. Start Wildfly in standalone-full mode:
4241

4342
${AS}/bin/standalone.sh --server-config=standalone-full.xml
4443

4544
2. Create an application user:
4645

47-
${AS}/bin/add-user.sh
48-
realm=ApplicationRealm UserName=guest Password=guestp.1 Group=guest
46+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
4947

5048
3. Build and deploy the quickstart
5149

quickstarts/demos/multiApp/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ EAP
2222

2323
2. Create an application user:
2424

25-
${AS}/bin/add-user.sh
26-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
25+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
2726

2827
3. Build and deploy the quickstart
2928

@@ -48,8 +47,7 @@ Wildfly
4847

4948
2. Create an application user:
5049

51-
${AS}/bin/add-user.sh
52-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
50+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
5351

5452
3. Build and deploy the quickstart
5553

quickstarts/demos/policy-security-basic/Readme.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ EAP
1313

1414
1. Create an application user:
1515

16-
${AS}/bin/add-user.sh
17-
18-
realm=ApplicationRealm Username=kermit Password=the-frog-1 group=friend
16+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
1917

2018
2. Start EAP in standalone mode:
2119

@@ -75,13 +73,11 @@ Wildfly
7573

7674
1. Create an application user:
7775

78-
${WILDFLY}/bin/add-user.sh
79-
80-
realm=ApplicationRealm Username=kermit Password=the-frog-1 group=friend
76+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
8177

8278
2. Start Wildfly in standalone mode :
8379

84-
${WILDFLY}/bin/standalone.sh
80+
${AS}/bin/standalone.sh
8581

8682
3. Build and deploy the demo :
8783

quickstarts/demos/policy-security-cert/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Wildfly
6161

6262
1. Start Wildfly in standalone mode :
6363

64-
${WILDFLY}/bin/standalone.sh
64+
${AS}/bin/standalone.sh
6565

6666
2. Build and deploy the demo :
6767

quickstarts/demos/policy-security-saml/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Wildfly
3434

3535
1. Start Wildfly in standalone mode :
3636

37-
${WILDFLY}/bin/standalone.sh
37+
${AS}/bin/standalone.sh
3838

3939
2. Build and deploy the demo :
4040

quickstarts/demos/policy-security-wss-signencrypt/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Wildfly
3636

3737
1. Start Wildfly in standalone mode :
3838

39-
${WILDFLY}/bin/standalone.sh
39+
${AS}/bin/standalone.sh
4040

4141
2. Build and deploy the demo :
4242

quickstarts/demos/policy-security-wss-username/Readme.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ EAP
1414

1515
1. Create an application user:
1616

17-
${AS}/bin/add-user.sh
18-
19-
realm=ApplicationRealm Username=kermit Password=the-frog-1 group=friend
17+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
2018

2119
2. Start JBoss EAP in standalone mode:
2220

23-
${EAP}/bin/standalone.sh
21+
${AS}/bin/standalone.sh
2422

2523
3. Build and deploy the quickstart
2624

@@ -41,13 +39,11 @@ Wildfly
4139

4240
1. Create an application user:
4341

44-
${WILDFLY}/bin/add-user.sh
45-
46-
realm=ApplicationRealm Username=kermit Password=the-frog-1 group=friend
42+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
4743

4844
2. Start Wildfly in standalone mode :
4945

50-
${WILDFLY}/bin/standalone.sh
46+
${AS}/bin/standalone.sh
5147

5248
3. Build and deploy the demo :
5349

0 commit comments

Comments
 (0)