Name

auth_simple — Metaproxy Simple Authentication And Authorization Module

DESCRIPTION

Simple authentication and authorization. The configuration specifies the name of a file that is the user register, which lists username:password pairs, one per line, colon-separated. When a session begins, it is rejected unless username and password are supplied, and match a pair in the register.

SCHEMA

# Metaproxy XML config file schemas
#
#   Copyright (C) Index Data
#   See the LICENSE file for details.

namespace mp = "http://indexdata.com/metaproxy"

filter_auth_simple =
  attribute type { "auth_simple" },
  attribute id { xsd:NCName }?,
  attribute name { xsd:NCName }?,
  element mp:userRegister { xsd:string }?,
  element mp:targetRegister { xsd:string }?,
  element mp:discardUnauthorisedTargets { empty }?

   

EXAMPLES

A typical configuration looks like this:

    <filter type="auth_simple">
     <userRegister>../etc/example.simple-auth</userRegister>
     <targetRegister>../etc/example.target-auth</targetRegister>
     <discardUnauthorisedTargets/>
    </filter>
    
   

SEE ALSO

metaproxy(1)

COPYRIGHT

Copyright (C) 2005-2017 Index Data