Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • See LDAP Authentication
  • If you wish to limit use of your app to certain roles and/or campuses, you should retrieve the affiliations of the person associated with the authenticated username, and allow only those matching your criteria to pass through.
Warning

You should also look into CAS (the UH Web Login Service) as the preferred and highly recommended alternative to using LDAP for authentication where feasible.

Sample Code

...