2 Replies Latest reply on Aug 6, 2004 1:51 PM by Sebastian Hauer

    Throwing extended LoginException from SRPLoginModule

    Sebastian Hauer Newbie

      Hi,

      I would like to login to a server using the SRP protocol. I am using JBoss' SRPLoginModule in my client side jaas config to do this. Now since I am working in a clustered environment I have to determin if a thrown LoginException was caused by a true authentication problem or simply because the authenticating server was down. SRPLoginModule logs IOExceptions while trying to connect but since LoginException is not providing any information about the cause, I am probably forced to parse the log message :-(
      I thought maybe it would be acceptable to have JBoss provided login modules throw JBossLoginException that extend LoginException and provide access to the caused exception if it applies.

      Regards,
      Sebastian