After searching some more, I stumbled upon the reference to 
'unauthenticatedPrincipal'. I installed a new version of XDoclet and had this 
line added to jboss.xml.
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";>
  | 
  | <jboss>
  | 
  |    <security-domain>java:/jaas/appnetauth</security-domain>
  |    <unauthenticated-principal>nobody</unauthenticated-principal>
  | 
  |    <enterprise-beans>
  | 
  |      <!--
  |        To add beans that you have deployment descriptor info for, add
  |        a file to your XDoclet merge directory called jboss-beans.xml that 
contains
  |        the <session></session>, <entity></entity> and 
<message-driven></message-driven>
  |        markup for those beans.
  |      -->
  | 
  |       <session>
  |          <ejb-name>ejb/directory/Directory</ejb-name>
  |          <jndi-name>ejb/directory/DirectoryBean</jndi-name>
  |          <local-jndi-name>ejb/directory/DirectoryLocalBean</local-jndi-name>
  | 
  |       </session>
  | 
  |    </enterprise-beans>
  | 
  |    <resource-managers>
  |    </resource-managers>
  | 
  |   <!--
  |     | for container settings, you can merge in jboss-container.xml
  |     | this can contain <invoker-proxy-bindings/> and 
<container-configurations/>
  |   -->
  | 
  | </jboss>
However, I still get an error that the client is not authenticated and that the 
principal is null:
11:10:42,298 ERROR [Engine] ----- Root Cause -----
  | javax.servlet.ServletException: class vodafonemalta.directory.web.QueryBean 
: javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  |     Authentication exception, principal=null
  |     at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
  |     at org.apache.jsp.index_jsp._jspService(index_jsp.java:180)
  | ...
I'll continue looking, but I'd appreciate any help. The issue is quite pressing 
because of my holiday that starts less than two days from now...

Thanks again,

- Peter

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to