Package backend :: Package server :: Module apacheAuth
[hide private]
[frames] | no frames]

Module apacheAuth

source code

Functions [hide private]
 
splitProxyAuthToken(token)
given a token:hostname, split it into a token-list, hostname
source code
 
_verifyProxyAuthToken(auth_token)
verifies the validity of a proxy auth token
source code
 
auth_proxy()
Authenticates a proxy carrying a clients request.
source code
 
auth_client()
Authenticates a request from a client For an unsigned request, this function returns 0 (request should be coming from a client).
source code
Variables [hide private]
  __package__ = 'backend.server'
Function Details [hide private]

_verifyProxyAuthToken(auth_token)

source code 

verifies the validity of a proxy auth token

NOTE: X-RHN-Proxy-Auth described in proxy/broker/rhnProxyAuth.py

auth_proxy()

source code 

Authenticates a proxy carrying a clients request. For a valid or unsigned request, this function returns 1 (OK), otherwise it raises rhnFault

NOTE: X-RHN-Proxy-Auth described in proxy/broker/rhnProxyAuth.py