Hello,I'm upgrading from WF10.1.0 to WF26.1.2 and I have a question about configuring "sasl-authentication-factory".Default configuration uses it for setting up http-remoting and that's what I also plan to use it for. But the default configurations confuses me a bit, especially after I tested it a bit.I have my own security domain:<security-domain name="MySecurityDomain" default-realm="my-jdbc-realm" permission-mapper="default-permission-mapper">
<realm name="my-jdbc-realm" role-decoder="from-roles-attribute"/>
<realm name="ApplicationRealm" role-decoder="groups-to-roles"/>
</security-domain>And I configured it in the sasl-authentication-factory :<sasl-authentication-factory name="application-sasl-authentication" sasl-server-factory="configured" security-domain="MySecurityDomain"><mechanism-configuration>
<mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/><mechanism mechanism-name="DIGEST-MD5"><mechanism-realm realm-name="ApplicationRealm"/></mechanism></mechanism-configuration></sasl-authentication-factory>But now I'm confused by the mechanism part. Whta exactly does this configuration do? Does it allow for the DIGEST-MD5 mechanism to be used with the ApplicationRealm? Why is a realm defined here to begin with, will it only work with this realm?
Mind you, I did some testing and this doesn't work for me at least. It did after I added a simple<mechanism mechanism-name="PLAIN/>With this is seems to use full security domain authentication, but I'm not sure.Can someone point me to some documentation that could explain this? Google doesn't help here, nor do the official docs.
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/7c3bf0c0-03d7-4bf0-b1db-865ae0e826b6n%40googlegroups.com.
Hello,I'm upgrading from WF10.1.0 to WF26.1.2 and I have a question about configuring "sasl-authentication-factory".Default configuration uses it for setting up http-remoting and that's what I also plan to use it for. But the default configurations confuses me a bit, especially after I tested it a bit.I have my own security domain:<security-domain name="MySecurityDomain" default-realm="my-jdbc-realm" permission-mapper="default-permission-mapper">
<realm name="my-jdbc-realm" role-decoder="from-roles-attribute"/>
<realm name="ApplicationRealm" role-decoder="groups-to-roles"/>
</security-domain>And I configured it in the sasl-authentication-factory :<sasl-authentication-factory name="application-sasl-authentication" sasl-server-factory="configured" security-domain="MySecurityDomain"><mechanism-configuration>
<mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/><mechanism mechanism-name="DIGEST-MD5"><mechanism-realm realm-name="ApplicationRealm"/></mechanism></mechanism-configuration></sasl-authentication-factory>But now I'm confused by the mechanism part. Whta exactly does this configuration do? Does it allow for the DIGEST-MD5 mechanism to be used with the ApplicationRealm? Why is a realm defined here to begin with, will it only work with this realm?