Bugs item #765213, was opened at 2003-07-03 03:02
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=765213&group_id=22866

Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Bodo Junglas (junglas)
>Assigned to: Scott M Stark (starksm)
Summary: SRPLoginModul multipleSession="true" doesn't work

Initial Comment:
I'm using this auth.conf:
MyClient {
   org.jboss.security.srp.jaas.SRPLoginModule required
             multipleSessions="true"
        srpServerJndiName="srp/SaintsSRPServerInterfa
ce"
        ;

    org.jboss.security.ClientLoginModule required
        password-stacking="useFirstPass"
        ;
};

other {
    org.jboss.security.ClientLoginModule  required;
};

The first login is ok, second an following lead to an 
error. I've trace a little and saw, that the client get's a 
SessionId > 0, but serverside SRPCacheLoginModule 
always receives a SessionID == 0
I think the reason is, that SRPCacheLoginModule 
expects a SRPPrincipal, but ClientLoginModule just adds 
a SimplePrincipal to the SecurityAssociations (there's 
just a username (String) in the sharedState).

----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2003-07-16 22:47

Message:
Logged In: YES 
user_id=175228

This is fixed for the 3.2.2RC2 release. This requires a new 
org.jboss.security.AltClientLoginModule variation of the
client login module that will take the principal from the
authentication subject. Its uses is demonstrated in the SRP
multi session testcase config:

srp-test-multi {
   org.jboss.security.srp.jaas.SRPLoginModule required
      password-stacking="useFirstPass"
      srpServerJndiName="srp-test/SRPServerInterface"
      multipleSessions=true
   ;

   // JBoss Alternate ClientLoginModule
   org.jboss.security.AltClientLoginModule required
      multi-threaded=true
      password-stacking="useFirstPass"
        ;

};


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=765213&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to