This content has been marked as final.
Show 1 reply
-
1. Re: creating security realm authorization through jboss-cli.sh
ninjasftw May 15, 2015 6:52 AM (in response to ninjasftw)Turns out its a composite operation so needs to be executed as part of a batch.
batch
/core-service=management/security-realm=LdapConnection/authorization=ldap/username-to-dn=username-filter:add(base-dn="ou=People,dc=sssl,dc=server,dc=com", recursive="false", attribute="uid", user-dn-attribute="dn", force="true")
/core-service=management/security-realm=LdapConnection/authorization=ldap/group-search=group-to-principal:add(group-attribute="member",iterative=true,group-dn-attribute="dn", group-name="SIMPLE",group-name-attribute="cn",base-dn="ou=Groups,ou=Apps,dc=sssl,dc=server,dc=com",search-by="DISTINGUISHED_NAME",principal-attribute="member")
run-batch