|
|
|
|
|
|
|
|
|
|
|
_renewAuthentication(self,
request,
sessionID,
authResponse) |
source code
|
|
|
|
dict
|
|
|
_checkSession(self,
request)
From t.w.s.Request.getSession() Associates the request to a session
using the 'flumotion-session' cookie and updates the session's
timeout. |
source code
|
|
|
_createSession(self,
request,
authExpiracy=None,
sessionID=None)
From t.w.s.Site.makeSession() Generates a new Session instance and
store it for future reference |
source code
|
|
|
_generateToken(self,
sessionID,
clientIP,
authExpiracy)
Generate a cryptografic token: PAYLOAD = SESSION_ID||:||AUTH_EXPIRACY
PRIVATE = CLIENT_IP||:||MOUNT_POINT
SIG=HMAC(SECRET,PAYLOAD||:||PRIVATE) TOKEN=BASE64(PAYLOAD||:||SIG) |
source code
|
|
|
_cookieIsValid(self,
cookie,
clientIP,
urlSessionID)
Checks whether the cookie is valid against the authentication
expiracy time and the signature (and implicitly the client IP and
mount point). |
source code
|
|
|
|
|
_renderNotFoundResponse(self,
failure,
request) |
source code
|
|
|
|
|
_writeHeaders(self,
request,
content,
code=200)
Write out the HTTP headers for the incoming HTTP request. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from resources.HTTPStreamingResource :
getMaxAllowedClients ,
logWrite ,
reachedServerLimits ,
removeAllClients ,
rotateLogs ,
setBandwidthLimit ,
setLogFilter ,
setRedirectionOnLimits ,
setRoot ,
setUserLimit
Inherited from twisted.web.resource.Resource :
__providedBy__ ,
__provides__ ,
delEntity ,
getChild ,
getChildForRequest ,
getChildWithDefault ,
getDynamicEntity ,
getStaticEntity ,
listDynamicEntities ,
listDynamicNames ,
listEntities ,
listNames ,
listStaticEntities ,
listStaticNames ,
putChild ,
reallyPutEntity ,
render_HEAD
Inherited from extern.log.log.Loggable :
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure ,
writeMarker
|