0 Replies Latest reply on Nov 18, 2003 8:22 AM by ftg314159

    JBoss/JAAS under z/OS

    ftg314159

      I'm trying to get JBoss to run under IBM z?OS Unix System Services. The server seems to come up OK, except for throwing the following exception:

      19:06:30,433 ERROR [PersistenceManager] Starting failed
      java.lang.SecurityException: Invalid authentication attempt, principal=null
      .at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseC

      After playing with the code a bit, I find that the null principal is coming from SecurityAssociation.getPrincipal(), and that SecurityAssociation.setPrincipal() is never being called.

      All of this is server-side, with no client involved. If I try to hot-deploy an EAR file, I get the same exception for each of the EJBs.

      Can anyone advise as to who should be calling setPrincipal() ? Or why the default JBoss security code that works on Linux gives different results here ?