[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Marc Schumann.
  # Portions created by Marc Schumann are Copyright (c) 2007 Marc Schumann.
  # All rights reserved.
  #
  # Contributor(s): Marc Schumann <wurblzap@gmail.com>
  #%]
[%
  title = "RADIUS"
  desc = "Configure this first before choosing RADIUS as an authentication method"
  info = "<p>RADIUS authentication is a module for Bugzilla's plugin"
    _ " authentication architecture. This page contains the parameters"
    _ " required to use it. After setting them up, also set 'RADIUS' value"
    _ " for the 'user_verify_class' parameter.</p>"
    _ "<p>NOTE: Most caveats that apply to LDAP authentication apply to RADIUS"
    _ " authentication as well.</p>"
%]

[% param_descs = {
  RADIUS_server => "The name (and optionally port) of your RADIUS server " _
                   "(e.g. <code>radius.company.com</code>, or " _
                   "<code>radius.company.com:portnum</code>).<br />" _
                   "Required only if " _
                   "<a href=\"?section=auth#user_verify_class\">the " _
                   "<code>user_verify_class</code> parameter</a> contains " _
                   "<code>RADIUS</code>.",

  RADIUS_secret => "Your RADIUS server's secret.<br />" _
                   "Required only if " _
                   "<a href=\"?section=auth#user_verify_class\">the " _
                   "<code>user_verify_class</code> parameter</a> contains " _
                   "<code>RADIUS</code>.",

  RADIUS_NAS_IP => "The NAS-IP-Address attribute to be used when exchanging " _
                   "data with your RADIUS server. " _
                   "If unspecified, <code>127.0.0.1</code> will be used.<br />" _
                   "Useful only if " _
                   "<a href=\"?section=auth#user_verify_class\">the " _
                   "<code>user_verify_class</code> parameter</a> " _
                   "contains <code>RADIUS</code>.",

  RADIUS_email_suffix => "Suffix to append to a RADIUS user name to form an " _
                         "e-mail address.<br />" _
                         "Useful only if " _
                         "<a href=\"?section=auth#user_verify_class\">the " _
                         "<code>user_verify_class</code> parameter</a> " _
                         "contains <code>RADIUS</code>.",
  }
%]
