[jboss-dev-forums] [JBoss AS 7 Development] - Custom jdbc login module for remoting

Daniel Jipa do-not-reply at jboss.com
Sun Feb 19 11:38:51 EST 2012


Daniel Jipa [https://community.jboss.org/people/danjee] created the discussion

"Custom jdbc login module for remoting"

To view the discussion, visit: https://community.jboss.org/message/717783#717783

--------------------------------------------------------------
Hello,

I am trying to migrate an OC4J_10g application to the new Jboss 7. I've successfully deployed the ear but I have troubles using the login module.
I've chanded the configuration line for remoting realms in standalone.xml:

<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm" />


 to use my custom security realm:

<connector name="remoting-connector" socket-binding="remoting" security-realm="CaponeRealm" />


Also in the security-domains I've defined my custom login module:

<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>


I've also add the jboss.xml file in META-INF folder linking the ear to the security-domain:

<jboss>
     <security-domain>asf-jaas</security-domain>
</jboss>



My problem is linking the CaponeRealm to the security-domain. How can I do that ?
As I saw in docs  https://docs.jboss.org/author/display/AS7/Securing+the+Management+Interfaces https://docs.jboss.org/author/display/AS7/Securing+the+Management+Interfaces , realms have only 5 mechanisms(ldap,users,properties,ssl,secret) and none of them can be help me making that link.
Any help will be appreciated!
Thank you!

Daniel Jipa
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/717783#717783]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120219/b1598572/attachment.html 


More information about the jboss-dev-forums mailing list