Permalink
Browse files

WFLY-10515: fixes dependencies and client's hard coded admin user cre…

…dentials
  • Loading branch information...
emmartins committed Jun 6, 2018
1 parent a3836ad commit 5abee9554834a22a08fcf6c032f2fbaebc4d6a52
@@ -40,16 +40,16 @@
</licenses>
<dependencies>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.common</groupId>
<artifactId>wildfly-common</artifactId>
<groupId>org.wildfly.bom</groupId>
<artifactId>ejb-client-bom</artifactId>
<type>pom</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-ext-api</artifactId>
@@ -42,7 +42,7 @@ public static void main(String[] args) throws Exception {
System.out.println(authCtx1.runCallable(callable));
AuthenticationConfiguration superUser = common.useName("superUser").usePassword("superPwd1!");
AuthenticationConfiguration superUser = common.useName("quickstartAdmin").usePassword("adminPwd1!");
final AuthenticationContext authCtx2 = AuthenticationContext.empty().with(MatchRule.ALL, superUser);
System.out.println(authCtx2.runCallable(callable));

0 comments on commit 5abee95

Please sign in to comment.