-
- Downloads
From Gerri:
This patch cleans up the AFS code and adds the possibility to instantiate a token from any ROOT session. There is a new class, TAFS, wrapper around a few C functions to create, verify and destroy a token. This new code is available as a plugin library libAFSAuth. In a ROOT session you can do root[] TAFS::Init() to initialize a token in the default domain. You will be prompted for the password. This creates an instance of TAFS and saves a pointer to it in the global gAFS. Then root[] gAFS->Verify() shows the seconds left to token expiration. The C function are in AFSAuth.cxx; AFSAuth.o is linked to rpdutils.o so that the same code is used there. In PROOF, pmain.cxx loads libAFSAuth using the plugin manager when it is told that AFS credentials are available (in the form of a file in the sandbox). git-svn-id: http://root.cern.ch/svn/root/trunk@17472 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- auth/Module.mk 54 additions, 4 deletionsauth/Module.mk
- auth/inc/AFSAuth.h 56 additions, 0 deletionsauth/inc/AFSAuth.h
- auth/inc/AFSAuthTypes.h 49 additions, 0 deletionsauth/inc/AFSAuthTypes.h
- auth/inc/LinkDefAFS.h 17 additions, 0 deletionsauth/inc/LinkDefAFS.h
- auth/inc/TAFS.h 50 additions, 0 deletionsauth/inc/TAFS.h
- auth/src/AFSAuth.cxx 240 additions, 0 deletionsauth/src/AFSAuth.cxx
- auth/src/TAFS.cxx 179 additions, 0 deletionsauth/src/TAFS.cxx
- config/rootrc.in 2 additions, 1 deletionconfig/rootrc.in
- configure 46 additions, 7 deletionsconfigure
- main/src/pmain.cxx 77 additions, 3 deletionsmain/src/pmain.cxx
- rpdutils/Module.mk 2 additions, 2 deletionsrpdutils/Module.mk
- rpdutils/src/rpdutils.cxx 6 additions, 16 deletionsrpdutils/src/rpdutils.cxx
Loading
Please register or sign in to comment