Re: : Re: AAA URI draft

Rui Carmo <[email protected]>
Newsgroups gmane.ietf.aaa
Message-ID <[email protected]>
On Sep 10, 2004, at 11:28 PM, Roy T. Fielding wrote:
> but as near as I can tell, the only resources ever provided by those
> protocols are the service points (i.e., the fact that there is an AAA
> listener at that address).  Why, then, is there a desire for a grab-bag
> identification scheme like "aaa", which hides the most important bits
> of information at the end of the URI, when the same thing can be
> better accomplished by specific URI schemes for each service?
>
> In other words, what I would propose is the following:
>
>    d      = "diameter"         "://" authority    ; Diameter/sctp
>    d-tcp  = "diameter.tcp"     "://" authority    ; Diameter/tcp
>    d-tls  = "diameter.tls"     "://" authority    ; Diameter/tls/sctp
>    dtc    = "diameter.tls.tcp" "://" authority    ; Diameter/tls/tcp
>
>    r      = "radius"           "://" authority    ; RADIUS/udp
>
>    t      = "tacacs"           "://" authority    ; TACACS+/sctp
>    t-udp  = "tacacs.udp"       "://" authority    ; TACACS+/udp
>
> Note that the above removes all of the complexity described in
> section 3 regarding the various combinations of AAA protocol,
> transport, and session-based security that are not allowed.  If you
> simply define the URI schemes such that illegitimate combinations
> aren't even an option, then you don't have to require that
> applications keep track of what combination of parameters
> are allowed.  Likewise, all of the aliases (multiple URIs for the
> same service) are removed by specifying that the short scheme
> defines the most common protocol case (just as the "http" scheme
> defines HTTP over TCP, not HTTP over any transport).

I like it. It is consistent with the need to manage different sorts of 
AAA servers during the migration to Diameter and can cater for all the 
usual O&M issues (like custom port numbers, defaults, etc.) in a 
non-ambiguous way that will minimize the chances for human error.

> Furthermore, if we later discover that there are more resources
> hidden within the Diameter, TACACS+, and RADIUS servers beyond
> the mere existence of the service points, then all we need to
> do is add a path to the URI definition and those new services
> can be used by other information systems beyond AAA.

Yes, and applications handling the URI, as you put it quite nicely, can 
process it in a standard way (with the proper validations, I can 
envision using the URI as an XPath into a XML configuration file, 
etc.).

Rui Carmo
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.