[TYPO3-core] FYI: Added feature #11314: Extract functionality to create session ID from t3lib_userAuth::start()

Oliver Hader oliver at typo3.org
Wed Jun 10 18:29:27 CEST 2009


Hi again,

there's another thing that I'd like to change as follow-up to this issue.

Problem:
The lenth of the "hash" (session ID) is fixed to a maximum of 32 chars.
If another hash-function shall be used to create the session ID, e.g.
SHA1, it won't work.

Solution:
Add a new member variable $maxHashLength that can be overriden.

Notes:
If nobody objects, I'm going to commit the attached change to SVN Trunk
in 24 hours.

olly


Oliver Hader schrieb:
> The following changes were committed to SVN Trunk (rev. 5580)
> 
> Type: Cleanup/Feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11314
> 
> Branch: Trunk
> 
> Problem:
> The creation of a new session ID is currently somewhere in the start()
> method of t3lib_userAuth. However, it can be handy to define an own
> XCLASS method to create a session ID (e.g. to get a 160 bit session ID).
> 
> Solution:
> Move the mentioned functionality to a new method createSessionId()
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list