2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 358
358
359
359
360
360
<profiles >
361
+
362
+ <!-- ### PIRANHA ### -->
363
+
364
+ <profile >
365
+ <id >piranha-embedded</id >
366
+
367
+ <properties >
368
+ <skipEJB >true</skipEJB >
369
+ <skipCDI >true</skipCDI >
370
+ <skipJSF >true</skipJSF >
371
+ <skipJACC >true</skipJACC >
372
+ <!-- Client-cert needs complicated cert setup, which hasn't been done -->
373
+ <skipServletClientCertificate >true</skipServletClientCertificate >
374
+ </properties >
375
+
376
+ <dependencies >
377
+ <!-- Java EE based client dependencies to contact a server via WebSocket or REST -->
378
+ <dependency >
379
+ <groupId >fish.payara.arquillian</groupId >
380
+ <artifactId >payara-client-ee7</artifactId >
381
+ </dependency >
382
+
383
+ <dependency >
384
+ <groupId >cloud.piranha.arquillian</groupId >
385
+ <artifactId >piranha-arquillian-server</artifactId >
386
+ <version >20.1.0-SNAPSHOT</version >
387
+ </dependency >
388
+ </dependencies >
389
+
390
+ <build >
391
+ <plugins >
392
+ <plugin >
393
+ <groupId >org.apache.maven.plugins</groupId >
394
+ <artifactId >maven-surefire-plugin</artifactId >
395
+ <configuration >
396
+ <systemPropertyVariables >
397
+ <javaEEServer >piranha-embedded</javaEEServer >
398
+ <piranha .version>19.12.0</piranha .version>
399
+ <piranha .repositories>https://dl.bintray.com/piranhacloud/maven</piranha .repositories>
400
+ </systemPropertyVariables >
401
+ </configuration >
402
+ </plugin >
403
+ </plugins >
404
+ </build >
405
+
406
+ </profile >
407
+
408
+
361
409
362
410
<!-- ### PAYARA ### -->
363
411
Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ public static void addUsersToContainerIdentityStore() {
56
56
cmd .add ("u1" );
57
57
58
58
CliCommands .payaraGlassFish (cmd );
59
- } else {
59
+ } else if ("piranha-embedded" .equals (javaEEServer )) {
60
+ System .out .println ("Adding user for piranha-embedded" );
61
+ System .setProperty ("io.piranha.identitystore.callers" , "<u><caller callername=\" u1\" password=\" p1\" groups=\" g1\" /></u>" );
62
+ }
63
+ else {
60
64
if (javaEEServer == null ) {
61
65
System .out .println ("javaEEServer not specified" );
62
66
} else {
0 commit comments