Re: ClientMinPrincipal versus ClientMaxPrincipal

Mark Brouwer <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Gregg Wonderly wrote:
> Bob Scheifler wrote:
>>> In a subject with multiple principals that can be used for client
>>> authentication will the net effect of setting ClientMinPrincipal(A) as
>>> constraint be the same as with ClientMaxPrincipal(A) where A is a single
>>> principal?
>>
>>
>> Min(A) allows the possibility of authenticating as additional principals;
>> Max(A) does not.  But that possibility only matters if the RMI impl is
>> capable of multi-principal authentication; the standard JERI transports
>> are not.
>
> Where would be a good place to document this issue so that this potential
> different behavior is more explicitly discussed?  I'm contemplating a
> new IL
> factory which would transport all Principals except those enumerated by a
> constraint, and it sounds like I might be able to get what I need by
> using a
> slightly different implementation which might fit into the existing code
> and be
> driven by an additional constraint.

Can't you use ClientMaxPrincipal in this case Gregg? Is there a
particular reason why you want to express the principals you don't want
to expose versus the principals you are willing to expose to the server.
--
Mark

--------------------------------------------------------------------------
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.