Re:Show HN: A Go Library for Better Access Control
by softwarelimits on Saturday March 18, 2017 @10:59AM
(#13901530)
LDAP is still the industry standard for storing user data, please support that.
[ Parent
| on HN ]
Re:Show HN: A Go Library for Better Access Control
by golangman on Saturday March 18, 2017 @11:07AM
(#13901560)
Sorry, but if you had read the README you would probably have noticed that it does not matter if you use Google Auth, LDAP, MySQL or anything else. Subjects are just string identifiers, so it works per definition with everything, including LDAP.
This is a good example for separation of concerns. LDAP is for authentication, ladon is for Authorization. Don't mix those.
Re:Show HN: A Go Library for Better Access Control
by sk5t on Saturday March 18, 2017 @12:02PM
(#13901862)
Kerberos and OAuth are examples of authentication protocols. LDAP is not principally designed for authentication, it is a protocol for reading and modifying an hierarchical directory service (think phone book, DNS, etc.), but the "LDAP bind" operation has often been pressed into service for authn.
Re:Show HN: A Go Library for Better Access Control
by golangman on Saturday March 18, 2017 @12:12PM
(#13901924)
It's probably just a typo, but OAuth(2) is exactly NOT an authentication protocol: https://oauth.net/articles/authentication/