-
1. Re: MDB & JAAS
adrian.brock Jun 24, 2003 10:41 AM (in response to karamon)You can use <run-as> or do a jaas login.
Regards,
Adrian -
2. Re: MDB & JAAS
karamon Jun 27, 2003 7:39 AM (in response to karamon)Thank You for reply, :)
My problem was represented incorrectly. Really, I used Run-as, but this must be linked to predefined Identity (or Principal, this is not matter).
If I doesn't define unauthorizedIdentity option in to Login configuration, my MDB couldn't have any Principal and security check throwing the SecurityException on principal validation. Therefore while any request (call) must be authentificated we must having the unauthorized principal (in fact this isn't true in JBoss, but this help pass the principal validation). For this add the corresponding option in to login module configuration. I found this decision and think this will be usefull for anybody.
Thanx of lot, again... :)
With best regards, ,,,^.^,,,
P.S. Excuse me my english... ;)