X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAuthentication.pod;h=be80e9832b9746bf64ef0427fdfb489e4e18bdb6;hb=0e71fc183d43a8a3495c7d9af545755ea7d62fe0;hp=26faef392f1a8638e13659eaa45224730fdf7b2b;hpb=fbbb908469adb8ac7d9ec2b72df2722587c765e7;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/Authentication.pod b/lib/Catalyst/Manual/Tutorial/Authentication.pod index 26faef3..be80e98 100644 --- a/lib/Catalyst/Manual/Tutorial/Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/Authentication.pod @@ -158,7 +158,7 @@ C: # args: # 1) Name of relationship, DBIC will create accessor with this name # 2) Name of the model class referenced by this relationship - # 3) Column name in *foreign* table + # 3) Column name in *foreign* table (aka, foreign key in peer table) __PACKAGE__->has_many(map_user_role => 'MyApp::Schema::UserRoles', 'user_id'); # many_to_many(): @@ -180,7 +180,7 @@ C: # args: # 1) Name of relationship, DBIC will create accessor with this name # 2) Name of the model class referenced by this relationship - # 3) Column name in *foreign* table + # 3) Column name in *foreign* table (aka, foreign key in peer table) __PACKAGE__->has_many(map_user_role => 'MyApp::Schema::UserRoles', 'role_id'); @@ -633,7 +633,9 @@ using a SHA-1 hash. If you are concerned about cleartext passwords between the browser and your application, consider using SSL/TLS, made easy with the Catalyst plugin Catalyst::Plugin:RequireSSL. You should also consider adding a "salt" mechanism to your hashed passwords to -mitigate the risk of a "rainbow table" crack against your passwords. +mitigate the risk of a "rainbow table" crack against your passwords (see +L +for more information on using a salt value). =head2 Get a SHA-1 Hash for the Password