Re: Updating subject while service is deployed
Bob Scheifler <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
> I'm thinking about the ability to update the Subject a service operates > under while it is active. The security context contains an access control context, which contains a domain combiner, which contains a reference to the Subject, not a copy of the Subject. If you mutate the Subject, the domain combiner will subsequently use the new contents. SubjectDomainCombiner has a caching optimization for read-only Subjects, so you may want to evaluate an operational system to see if there's any measurable impact to using a mutable Subject. - Bob -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]