Hi all,

Currently the AuthenticationHandler interface defines the following methods:

   authenticate - extract credentials from request
   requestAuthentication - ask client for credentials
   dropAuthentication - forget about current credentials

The authenticate and requestAuthentication names are historic and date
back to some internal code at the time whether AuthenticationHandler did
not exist yet.

IMHO these names are not that good. And since we are defining new API
anyway, this might probaby be a good time to rename the methods.

I am thinking of the following replacements

   getCredentials - extract credentials from request
   requestCredentials - ask client for credentials
   dropCredentials - forget about current credentials

WDYT ?
Does this make sense ?
Are there better names ?
What about the interface names ?

Thanks and Regards
Felix

Reply via email to