Capitalization of parameters in URL

Takeshi NISHIMURA takeshi at nii.ac.jp
Sun Dec 15 13:31:52 EST 2013


Thanks, Scott. Now I understood.

Sincerely,
Takeshi

2013/12/16 3:06、Cantor, Scott <cantor.2 at osu.edu>:

> On 12/14/13, 1:07 AM, "Takeshi NISHIMURA" <takeshi at nii.ac.jp> wrote:
>> 
>> I'd like to know convention of Shibboleth project e.g. Naming Rules in
>> Java Coding Conventions.
>> https://wiki.shibboleth.net/confluence/display/DEV/Java+Coding+Conventions
> 
> Ah, sorry, I didn't follow.
> 
> There's no convention, and because of compatibility, it's usually more
> hassle than help to try and retrofit a convention. Parameters, to the
> extent that there is a convention, were mostly done using the XML
> attribute convention, which follows the typical Java bean property
> convention, camel case but with the first letter lower case.
> 
>> I found both uppercase and lowercase parameters in Shibboleth Wiki.
>> https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCreati
>> onParameters
>> "forceAuthn" (changed from SAML term "ForceAuthn")
>> "isPassive" (changed from SAML term "IsPassive")
>> "SPNameQualifier"
> 
> The latter was because I had a convention in C++, since adopted in Java
> now, to leave acronyms upper case, or more accurately, to spell them
> "correctly". So SP, IdP, SAML, HTTP, LDAP, etc.
> 
> -- Scott



More information about the dev mailing list