[OpenAFS-devel] struct rx_identity and compound identities
Simon Wilkinson
simonxwilkinson@gmail.com
Wed, 4 Dec 2013 21:30:18 +0000
On 4 Dec 2013, at 03:18, Benjamin Kaduk <kaduk@mit.edu> wrote:
> Back in 2010, Siomn added an rx_identity structure to store identity =
information, a structure that is similar to, but not exactly compatible =
with the PrAuthName type for which RPC-L is given in =
draft-brashear-afs3-pts-extended-names
The idea of rx_identity was to provide an analogue for PrAuthName, =
without requiring consumers to pull in the whole mess of an XDR =
generated header (a particular issue if you happen to be within RX =
itself!). It also resolves the dependency ordering, and layer violation, =
of having an RX security class depend on a ptint structure. We also do =
some helpful
things, like providing the displayName as a NUL terminated string that =
can just be printed.
In that vein, if you have an array of PrAuthNames, you would have an =
array of struct rx_identity pointers
Cheers,
Simon=