1 Reply Latest reply on Nov 27, 2005 12:17 AM by Scott Stark

    XMLLoginConfig / PassSecurityDomainName

    Bruno Beloff Newbie

      Hi

      I've got a custom LoginModule that needs to obtain the security domain name for the request. Currently I do this with a "module-option" element of each application-policy / authentication in my own login-config.xml file.

      It would be a big help if this was passed automatically. I notice that the org.jboss.security.auth.login.XMLLoginConfig has an attribute "PassSecurityDomainName".

      Can this be used to pass the security domain name to the LoginModule? If so, how should the custom LoginModule get the information?

      Thanks for your help.

      Bruno Beloff.