Re: How to create Login using already-hashed password from another application (non-cakephp application)

2015-06-25 Thread chol paul
find out the password hasher of that app. and create a mirror of that
class of course the cakephp way. password hashers are found in
app/controller/components/auth. Optionally  your custom hashers can
extent AbstractPasswordHasher

On 6/25/15, 'Cruisine' via CakePHP cake-php@googlegroups.com wrote:
 Dear friends,

 Recently i'm working with cakephp project. The database used in the project

 is from another already built application (non-cakephp app), which is has
 its own user table that has full of user's datas. The password are already
 hashed from that application. My question is, how can i create a login user

 in my current cakephp project which can read the already-hashed password
 from that user table ?

 My question might be too basic to you, but i sincerely need your helps.

 Thank You.

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


How to create Login using already-hashed password from another application (non-cakephp application)

2015-06-24 Thread 'Cruisine' via CakePHP
Dear friends,

Recently i'm working with cakephp project. The database used in the project 
is from another already built application (non-cakephp app), which is has 
its own user table that has full of user's datas. The password are already 
hashed from that application. My question is, how can i create a login user 
in my current cakephp project which can read the already-hashed password 
from that user table ?

My question might be too basic to you, but i sincerely need your helps. 

Thank You.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: How to create Login using already-hashed password from another application (non-cakephp application)

2015-06-24 Thread Dr. Tarique Sani
You create a custom password hasher class

See
http://book.cakephp.org/3.0/en/controllers/components/authentication.html#creating-custom-password-hasher-classes


On Thu, Jun 25, 2015 at 9:39 AM, 'Cruisine' via CakePHP 
cake-php@googlegroups.com wrote:

 Dear friends,

 Recently i'm working with cakephp project. The database used in the
 project is from another already built application (non-cakephp app), which
 is has its own user table that has full of user's datas. The password are
 already hashed from that application. My question is, how can i create a
 login user in my current cakephp project which can read the already-hashed
 password from that user table ?

 My question might be too basic to you, but i sincerely need your helps.

 Thank You.

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.




-- 
=
Hire a CakePHP dev team : http://sanisoft.com
=

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.