Naming Conventions for IdP Extensions

Daniel Lutz daniel.lutz at switch.ch
Wed Apr 3 11:50:45 EDT 2019


Cantor, Scott [02.04.19 16:37]:
> The advice for storage contexts generally speaking is to name them Java package style,
> using a reverse DNS name convention. We actually do that in some cases, but with some exceptions
> typically oriented around unique values like session IDs that aren't supposed to conflict anyway.
>
> So package naming in general will prevent conflicts.
> 
> I don't have a real answer for the cookie question, I'd have to review what we have now.
> I guess package naming probably works there too?
> 
>> Would it make sense to list such rules on the page
> 
> Yes.

Thanks for the hints, Scott.

I've added a section "Naming Recommendations" to the page
https://wiki.shibboleth.net/confluence/display/IDP30/BuildingExtensions

For cookie names, I decided to recommend underscores instead of dots.
(Dots are allowed, but seem not to be widely used. Most cookies seem to
use dashes.)

- Daniel


More information about the dev mailing list