elytron

Defining jboss-web.xml security-domain causes missing dependencies for my EJBs

北城以北 提交于 2020-05-17 07:53:06
问题 I have a working webapp (a .war that includes a .jar with three EJBs) that works fine. I define an LDAP security domain through jboss-cli: /subsystem=elytron/dir-context=pepDirContext:add(url="ldap://127.0.0.1:10389",principal="uid=admin,ou=system",credential-reference={clear-text="secret"}) /subsystem=elytron/ldap-realm=pepRealm:add(dir-context=pepDirContext,identity-mapping={search-base-dn="ou=Users,dc=jboss,dc=org",rdn-identifier=uid,user-password-mapper={from="userPassword"},attribute

Security domain not found in WildFly Elytron

我与影子孤独终老i 提交于 2020-01-15 04:23:26
问题 In Wildfly 14.0.1, I have configured a security realm ProxyRealm in the console, I have used the CLI to configure a security domain ProxyDomain that uses the ProxyRealm , and then I have even created an Undertow application security domain ProxyDomain that uses Elytron's ProxyDomain . I have a simple ear with only one jar that contains an EJB, and to that ear META-INF folder I have added a jboss-app.xml with the following content: <?xml version="1.0" encoding="UTF-8"?> <jboss-app> <security

Configuring security to access EJB through WS — WFLYEJB0364 Connection rejected

白昼怎懂夜的黑 提交于 2019-12-25 00:21:55
问题 I have followed this tutorial to configure an user ejbuser with password 12345678 and role appCitas . The instructions that I followed are: C:\wildfly-14.0.1.Final\bin>jboss-cli.bat You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=proxyRealm:add(path=proxy-realm-users,relative-to=jboss.server.config.dir) {"outcome" => "success"}