zopefoundation / Products.PluggableAuthService

Pluggable Zope authentication / authorization framework
Other
9 stars 18 forks source link

Tighten down some published methods that don't need to be public #88

Closed dataflake closed 3 years ago

dataflake commented 3 years ago

In https://github.com/zopefoundation/Products.PluggableAuthService/commit/9a26e5f53e6148011533a43948a4380770720b5b code was added to provide generalized functionality for transforming login names. This is a good idea if the admin wants to e.g. make sure all logins are lowercased.

Some simple string transform methods that were added are explicitly public but probably don't need to be. They should be either private or unreachable over the web by anonymous visitors.