Type:
Class

Htgroup accesses apache-compatible group files. Htgroup can be used to provide group-based authentication for users. Currently Htgroup is not directly integrated with any authenticators in WEBrick. For security, the path for a digest password database should be stored outside of the paths available to the HTTP server.

Example:

htgroup = WEBrick::HTTPAuth::Htgroup.new 'my_group_file'
htgroup.add 'superheroes', %w[spiderman batman]

htgroup.members('superheroes').include? 'magneto' # => false
new

new(path) Class Public methods Open a group database at path

2015-06-11 16:10:52
members

members(group) Instance Public methods Retrieve the list of members from

2015-06-11 16:21:35
flush

flush(output=nil) Instance Public methods Flush the group database. If output

2015-06-11 16:17:11
reload

reload() Instance Public methods Reload groups from the database

2015-06-11 16:22:58
add

add(group, members) Instance Public methods Add an Array of members

2015-06-11 16:12:58