2 Replies Latest reply on Dec 3, 2007 4:56 PM by alllle

    EJB authentication problem when accessing SEAM component fro

    alllle

      Using SEAM 2.0.0GA on JBoss AS 4.2.2GA.

      My SEAM components are packaged in a JAR that is configured to use a security policy in the META-INF/jboss.xml file of the JAR as follows:

      <jboss>
       <security-domain>mySecurityDomain</security-domain>
      </jboss>
      


      This security domain is using a customer LoginModule that authenticates against the supplied username and password. Both local and remote client of the EJB will specify the username and password when creating the InitialContext to lookup the EJB.

      The problem is, I don't know how to instruct the SEAM to include the username and password when SEAM tries to lookup the EJB via JNDI, as the EJB is referenced from my view .xhtml file.

      Any help is appreciated!

      Thanks,