[jboss-user] [JBoss Seam] - EJB authentication problem when accessing SEAM component fro

alllle do-not-reply at jboss.com
Thu Nov 29 17:54:53 EST 2007


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,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109095#4109095

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109095



More information about the jboss-user mailing list