[Building Sakai] encrypt id_user

Stephen Swinsburg s.swinsburg at lancaster.ac.uk
Mon Mar 30 15:37:41 PDT 2009


Hi,

The value you are seeing is not encrypted, it's an auto generated  
internal ID called a UUID (Universally Unique ID). This is done so  
that the changing of a user's login username is possible, ie jsmith26  
to jsmith27, but the internal ID (the UUID) never changes. Whenever  
you create data/content, it is associated with that internal ID.

If you want to create a UUID you can use  
org.sakaiproject.id.api.IdManager createUuid().

cheers,
Steve


On 30/03/2009, at 11:30 PM, yolima u wrote:

>
> hi everybody
>
> i have a question. When i create a new user, sakai encrypt the user  
> id in
> the table of mysql (sakai_user), but i need to know, where sakai do  
> this?,
> -- 
> View this message in context: http://www.nabble.com/encrypt-id_user-tp22794539p22794539.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090330/0a2aa9bc/attachment-0001.bin 


More information about the sakai-dev mailing list