acegi plugin 密碼如何用明碼存入

5 views
Skip to first unread message

derekypp peng

unread,
Jan 16, 2010, 11:01:54 AM1/16/10
to grail...@googlegroups.com
請問一下,有做用acegi這個權限管理plugin的大大們
因為它預設密碼是被加密過了

所以存在資料庫是一堆亂碼
可是我想用明碼的方式存入(不加密存入)

因為有遇到一個問題,就是User更換自已的密碼但忘記了
請我幫他看,可是從一堆亂碼也看不出來
只好強制幫他設一個新的密碼了

自已是管理者,但不知道密碼實在有點奇怪

只好請教各位大大了,謝謝~


33D.gif

Ford Guo

unread,
Jan 16, 2010, 11:29:37 AM1/16/10
to grail...@googlegroups.com
从个人隐私来说,就是不应该知道密码,呵呵
Ford Guo


2010/1/17 derekypp peng <dere...@gmail.com>
--
您收到此邮件是因为您订阅了 Google 网上论坛的“Grails联盟-GrailsUnion”论坛。
要向此网上论坛发帖,请发送电子邮件至 grail...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 grailsunion...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/grailsunion?hl=zh-CN 访问此网上论坛。


33D.gif

Ali Yang

unread,
Jan 16, 2010, 7:29:01 PM1/16/10
to grail...@googlegroups.com
Acegi 是可以配置加密算法的,使用 Acegi 的时候不去配置这些应该就可以了。不过忘记密码的话就应该重置密码,不能看原来的密码的,即便你是管理员也不行。

2010/1/17 Ford Guo <agil...@gmail.com>

从个人隐私来说,就是不应该知道密码,呵呵
Ford Guo


--
Ali Yang
----------------------------------------
Blog: http://ssailyang.javaeye.com
Twitter: https://twitter.com/aliyang
MSN: yang_...@hotmail.com
QQ: 407131746
----------------------------------------

derekypp peng

unread,
Jan 16, 2010, 7:36:06 PM1/16/10
to grail...@googlegroups.com
請問一下Acegi 要去哪配置一下加密算法,請大大請點一下

2010/1/17 Ali Yang <yang...@gmail.com>

Phoenix

unread,
Jan 16, 2010, 11:57:31 PM1/16/10
to grail...@googlegroups.com
标准的做法真的是不能让系统管理员看到明码的,否则就是系统漏洞,你可以在用户管理里面增加一个重置密码的功能,供系统管理员使用。该功能能生成随机密码,然后发送密码重置通知邮件给该用户。整个过程无论谁都看不到密码,只有收到通知邮件的最终用户。

2010/1/17 derekypp peng <dere...@gmail.com>



--
Best Regards

**************************************************
Phoenix
Mobile :  68540371
Email  :  pho...@linkpower.com
Fax     :  23323335
LinkPOWER Technology Co. Ltd.
**************************************************

CONFIDENTIALITY NOTICE: This message is intended only for the use of the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential and exempt from disclosure under applicable
law. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message

zongzi

unread,
Jan 17, 2010, 4:49:39 AM1/17/10
to grail...@googlegroups.com
重置密码功能确实是日常维护中需要的。
有没有大侠开发成插件分享一下啊?嘿嘿

2010/1/17 Phoenix <winters...@gmail.com>



--
行为源自需求,理念成就未来!
Reply all
Reply to author
Forward
0 new messages