Skip to content

sgomez/modpapi

Repository files navigation

mod_papi in C has some changes from the Perl version.

1. Parameters

Only the next tags have been implemented, and theirs names have changed:

Old tag					                  New tag
---------------------------------------------------------
Accept_File                               PAPIAcceptFile
Attribute_Separator                       PAPIAttributeSeparator
Auth_Location                             PAPIAuthLocation
Client_Address_In_Tokens                  PAPIClienteAddressInTokens
Cookie_Reject                             PAPICookieReject
Domain                                    PAPIDomain
Hash_User_Data                            PAPIHashUserData
GPoA_Hash_User_Data                       PAPIGPoAHashUserData
GPoA_Priv_Key                             PAPIGPoAPrivKey
GPoA_Rewrite                              PAPIRewrite
GPoA_URL                                  PAPIWAYF and PAPIGPoA (2)
Lcook_Timeout                             PAPILcookTimeout
LKEY_File                                 PAPILkey (1)
Max_TTL                                   PAPIMaxTTL
PAPI_AS                                   PAPIAS
PAPI_Filter                               PAPIFilter
Pass_URL_Pattern                          PAPIPassURLPattern
Reject_File                               PAPIRejectFile
Req_DB                                    PAPIReqDB
Service_ID                                PAPIServiceID
Signoff_Location                          PAPISignoffLocation
URL_Timeout                               PAPIURLTimeout
User_Data_Rewrite                         PAPIUserDataRewrite
Value_Separator                           PAPIValueSeparator

HKEY_File                                 Not implemented
CRC_Timeout                               Not implemented
Debug                                     Not implemented
Eval_Proxy_Redirects                      Not implemented
Form_Processor                            Not implemented
HTTP_Auth                                 Not implemented
Local_IP_Address                          Not implemented
Max_Nonce_Errors                          Not implemented
No_XML                                    Not implemented
PADATH_LAA_Handler                        Not implemented
PADATH_HDD_Handler                        Not implemented
PADATH_Institution_ID                     Not implemented
PADATH_Key                                Not implemented
PADATH_Permission_Set_Attribute           Not implemented
PADATH_User_Id_Attribute                  Not implemented
PADATH_AAP_TTL                            Not implemented
PAPI_Redirect                             Not implemented
PAPI_Redirect_by_URL                      Not implemented
PAPI_POST_Redirect                        Not implemented
PAPI_Header_Redirect                      Not implemented
Proxy_Chunk_Size                          Not implemented
Proxy_Server                              Not implemented
Pubkeys_Path                              (Read 3)
Redirect_All                              Not implemented
Reject_URL_Pattern                        Not implemented
Remote_URL                                Not implemented
Remote_Domain                             Not implemented
Rewrite_MIME_Types                        Not implemented
Rewrite_URL_Pattern                       Not implemented
SPOCP_Server                              Not implemented
SPOCP_Action                              Not implemented
SPOCP_Accept_If_Down                      Not implemented

PAPI_Main and PAPI_Local are not longer necessary. You can use the tags
in the Server or Location sections of your config file.

(1) PAPILkey recives a key as parameter and not a file. If you don't configure
    it, mod_papi will generate one automatically every time you restart apache.

(2) Two new keys:
    * PAPIWAYF wayf
    * PAPIGPOA name URL

(3) PAPIKeysPath directory

New tags

PAPIReqDBPath  directory
PAPIRemoteUserAttribute attribute (default: uid)
PAPILazySession (0|1)
PAPILcookMaxTimeout seconds (default:3600)

About

Implementation of PAPI PoA and GPoA for Apache2 in C.

Resources

Stars

Watchers

Forks

Packages

No packages published