Download Metaproxy - User's Guide and Reference
Transcript
Metaproxy - User’s Guide and Reference
41 / 94
COPYRIGHT
Copyright (C) 2005-2015 Index Data
10.3
auth_simple
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 passsword are supplied, and match a pair in the register.
SCHEMA
# Metaproxy XML config file schema
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)