Basic Auth Scheme

aah provides an easy to use Basic auth scheme. It supports two realms, file and dynamic. Choose per use case.

Realm

Description

File

Having known set of users defined in the config file. In addition, aah supports roles and permissions in the configuration.

Dynamic

Subject’s data resides in datasources such as credentials, roles, and permissions. Implement interfaces authc.Authenticator and authz.Authorizer to provide authentication and authorization details. This approach is similar to Form auth scheme. Refer aah RESTFul APIs Basic Auth example.