T
Tim Terry
I currently have Jboss and tomcat setup on a separate machines. Tomcat
can access jboss's jndi resources such as ejbs. I have done this by
settings tomcats system properties to:
JAVA_OPTS="-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=host2:1099 -Djava.
naming.factory.url.pkgs=org.jboss.naming
rg.jnp.interfaces"
I have now added role based security to one of the ejbs deployed on
jboss (using org.jboss.security.auth.spi.UsersRolesLoginModule), how can
tomcat authenticate webapps to use this ejb?
I have tried using tomcat memory realm implementation. but after the
browser authenticates me as the correct user the jndi resource cannot be
retrived from jboss. The following error occurs: 'RemoteException
occurred in server thread; nested exception is:
java.rmi.AccessException: SecurityException; nested exception is:
java.lang.SecurityException: Authentication exception, principal=null'
I guess i need to provide the principle to use in the system
properties, but have no idea as what to use.
I would be greatful for any suggestions,
Tim
can access jboss's jndi resources such as ejbs. I have done this by
settings tomcats system properties to:
JAVA_OPTS="-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=host2:1099 -Djava.
naming.factory.url.pkgs=org.jboss.naming
I have now added role based security to one of the ejbs deployed on
jboss (using org.jboss.security.auth.spi.UsersRolesLoginModule), how can
tomcat authenticate webapps to use this ejb?
I have tried using tomcat memory realm implementation. but after the
browser authenticates me as the correct user the jndi resource cannot be
retrived from jboss. The following error occurs: 'RemoteException
occurred in server thread; nested exception is:
java.rmi.AccessException: SecurityException; nested exception is:
java.lang.SecurityException: Authentication exception, principal=null'
I guess i need to provide the principle to use in the system
properties, but have no idea as what to use.
I would be greatful for any suggestions,
Tim