Skip to content

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

+1-1
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

+3-6
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

+1-1
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

+3-5
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

+2-4
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

+3-7
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

+1-1
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

+1-1
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

+1-1
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

+4-8
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

quickstarts/demos/policy-transaction/Readme.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ EAP
2828

2929
2. Create an application user:
3030

31-
${AS}/bin/add-user.sh
32-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
31+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
3332

3433
3. Build and deploy the quickstart
3534

@@ -52,12 +51,11 @@ Wildfly
5251
----------
5352
1. Start Wildfly in standalone-full mode:
5453

55-
${WILDFLY}/bin/standalone.sh --server-config=standalone-full.xml
54+
${AS}/bin/standalone.sh --server-config=standalone-full.xml
5655

5756
2. Create an application user:
5857

59-
${WILDFLY}/bin/add-user.sh
60-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
58+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
6159

6260
3. Build and deploy the quickstart
6361

quickstarts/demos/security-propagation/Readme.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ EAP
1717

1818
1. Create an application user:
1919

20-
${AS}/bin/add-user.sh
21-
User : kermit
22-
Password : the-frog-1
23-
Group : friend
20+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
2421

2522
2. Start JBoss AS in standalone mode:
2623

@@ -47,10 +44,7 @@ Wildfly
4744

4845
1. Create an application user:
4946

50-
${WILDFLY}/bin/add-user.sh
51-
User : kermit
52-
Password : the-frog-1
53-
Group : friend
47+
${AS}/bin/add-user.sh -a --user kermit --password the-frog-1 --group friend
5448

5549
2. Edit the standalone.xml placed on ${WILDFLY_HOME}/standalone/configuration
5650

@@ -69,7 +63,7 @@ Wildfly
6963

7064
3. Start Wildfly in standalone mode :
7165

72-
${WILDFLY}/bin/standalone.sh
66+
${AS}/bin/standalone.sh
7367

7468
4. Build and deploy the demo :
7569

quickstarts/ear-deployment/README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ EAP
2727

2828
2. Create an application user:
2929

30-
${AS}/bin/add-user.sh
31-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
32-
30+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
31+
3332
3. Build and deploy the EAR
3433

3534
mvn install -Pdeploy
@@ -51,8 +50,7 @@ Wildfly
5150

5251
2. Create an application user:
5352

54-
${AS}/bin/add-user.sh
55-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
53+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
5654

5755
3. Build and deploy the EAR
5856

quickstarts/jca-inflow-hornetq/Readme.md

+2-4
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/jca-outbound-hornetq/Readme.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ EAP
1515

1616
2. Create an application user:
1717

18-
${AS}/bin/add-user.sh
19-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
18+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
2019

2120
3. Build and deploy the quickstart
2221

@@ -41,8 +40,7 @@ Wildfly
4140

4241
2. Create an application user:
4342

44-
${AS}/bin/add-user.sh
45-
realm=ApplicationRealm user=guest password=guestp.1 group=guest
43+
${AS}/bin/add-user.sh -a --user guest --password guestp.1 --group guest
4644

4745
3. Build and deploy the quickstart
4846

0 commit comments

Comments
 (0)