Print

Print


Add a mapfile for VOMS FQANs.  This allows the VOMS plugin to map the contents of the VOMS extension to a name in the `XrdSecentity`.

This adds two new configuration parameters, `voms.mapfile` and `voms.trace`.  Here's an example invocation:

```
voms.mapfile /etc/grid-security/voms-mapfile
voms.trace debug
```

Where the mapfile is in the format used by XrdLcmaps:

```
"/cms/Role=lcgadmin/Capability=NULL" lcgadmin
"/cms/*" cmsuser
"/des/Role=Analysis/Capability=NULL" des
```

At the `debug` level, things are pretty chatty - including dumping each line during parsing and each mapping invocation.

The mapfile is re-parsed every 30 seconds.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1572

-- Commit Summary --

  * Fixup const'ness of a few `XrdOucString` methods.
  * Add mapfile support as a separate class to the XrdVoms code.

-- File Changes --

    M src/XrdOuc/XrdOucString.cc (18)
    M src/XrdOuc/XrdOucString.hh (29)
    M src/XrdVoms.cmake (1)
    M src/XrdVoms/XrdVomsHttp.cc (5)
    A src/XrdVoms/XrdVomsMapfile.cc (359)
    A src/XrdVoms/XrdVomsMapfile.hh (86)
    M src/XrdVoms/XrdVomsgsi.cc (10)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1572.patch
https://github.com/xrootd/xrootd/pull/1572.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1572

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1