Re: Best Practices for Handling Client Authentication
Bob Scheifler <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
>>1) I can call this method once to wrap all subsequent code > > #1 doesn't work well because the Swing library doesn't maintain your security > context, so you end up using subject.doAs() everywhere. You can wrap your Swing Listeners and Runnables, in the same way that you would wrap your proxies in #2. The starter kit's browser does this, if you want an example (see Browser.Handler and the Browser.wrap methods). - Bob =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html