You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
871 B
Plaintext
24 lines
871 B
Plaintext
{
|
|
# Authentication.
|
|
#
|
|
# This section lists which modules are available for authentication.
|
|
# Note that it does NOT mean 'try each module in order'. It means
|
|
# that a module from the 'authorize' section adds a configuration
|
|
# attribute 'Auth-Type := FOO'. That authentication type is then
|
|
# used to pick the apropriate module from the list below.
|
|
#
|
|
# In general, you SHOULD NOT set the Auth-Type attribute. The server
|
|
# will figure it out on its own, and will do the right thing. The
|
|
# most common side effect of erroneously setting the Auth-Type
|
|
# attribute is that one authentication method will work, but the
|
|
# others will not.
|
|
#
|
|
# The common reasons to set the Auth-Type attribute by hand
|
|
# is to either forcibly reject the user, or forcibly accept him.
|
|
|
|
$OUT = "authenticate \{\n";
|
|
$OUT .= "$_\n" foreach @authModules;
|
|
$OUT .= "\}\n";
|
|
|
|
}
|