Daniel Jipa [
https://community.jboss.org/people/danjee] created the discussion
"Re: Custom jdbc login module for remoting"
To view the discussion, visit:
https://community.jboss.org/message/717903#717903
--------------------------------------------------------------
Here are bits of my standalone.xml configuration:
[...]
<management>
<security-realms>
<security-realm name="ManagementRealm">
<authentication>
<properties path="mgmt-users.properties"
relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
<security-realm name="ApplicationRealm">
<authentication>
<properties path="application-users.properties"
relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
<security-realm name="MyAppRealm">
<authentication>
<properties path="myapp-users.properties"
relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
</security-realms>
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket-binding native="management-native"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
</management>
[...]
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector"
socket-binding="remoting" security-realm="MyAppRealm"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
<subsystem xmlns="urn:jboss:domain:sar:1.0"/>
<subsystem xmlns="urn:jboss:domain:security:1.1">
<security-domains>
<security-domain name="asf-jaas"
cache-type="default">
<authentication>
<login-module
code="com.asf.security.server.jaas.LdapFallbackJdbcLoginModule"
flag="required">
<module-option name="debug"
value="true"/>
</login-module>
</authentication>
</security-domain>
</security-domains>
</subsystem>
[...]
What should I modify in order that remote JNDI will use my custom login module ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/717903#717903]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]