ipaserver.plugins.service.normalize_principal

ipaserver.plugins.service.normalize_principal(value)[source]

Ensure that the name in the principal is lower-case. The realm is upper-case by convention but it isn’t required.

The principal is validated at this point.