Rickard �berg wrote:
R�> Tom Cook wrote:
>> Is there
>> a 'standard' mechanism for making ctx.getCallerPrincipal() return the
>> correct thing?
R�> No, not yet. I.e. there is no standard for setting the client principal
R�> yet. If your client is a web client then it will work since you will use
R�> the web authentication, but if you're in a standalone client you must
R�> use proprietary login functionality (note that stand-alone applications
R�> as clients in general is not supported until just recently). The
R�> standard way to do this *in the future* will be to use JAAS.
Why do you say so? :-O
ctx.getCallerPrincipal() is already supported and one can use JAAS on
in a standalone client, see
http://www.mail-archive.com/[email protected]/msg04170.html
Best regards,
Oleg
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]