AllUsers makes hba match connections made by any user.
()
| 111 | |
| 112 | // AllUsers makes hba match connections made by any user. |
| 113 | func (hba *HostBasedAuthentication) AllUsers() *HostBasedAuthentication { |
| 114 | hba.user = "all" |
| 115 | return hba |
| 116 | } |
| 117 | |
| 118 | // Databases makes hba match connections made to specific databases. |
| 119 | func (hba *HostBasedAuthentication) Databases(name string, names ...string) *HostBasedAuthentication { |