hashPassword()?

2018-01-26 Thread Olaf
Hi, I'm looking for a simple function that'll hash a password, like PHP's password_hash: http://php.net/manual/en/function.password-hash.php Does Shiro provide such a function? I understand Shiro is an entire framework but currently my needs are limited to a few simple functions. A matching

Re: RememberMeManager in Database

2018-01-26 Thread Björn Raupach
Hi Brian, know you are busy. Could you give me some feedback on this? kind regards Björn > On 12. Jan 2018, at 16:44, Björn Raupach wrote: > > Not sure where to talk about the proposed feature. JIRA Ticket? Mailing list > or GitHub issue/pull request? > > Anyways here is the

Re: RememberMeManager in Database

2018-01-26 Thread Brian Demers
Looks like a good start, I left a comment on the nonce logic. My JDBC is a little rusty though (which oddly makes me smile) so I might not be the best person to look at that. There is probably some logic we can bubble up I almost forgot about this, but I was messing around with a JWT remember me

Re: hashPassword()?

2018-01-26 Thread Brian Demers
Take a look at the CredentialMatcher: https://shiro.apache.org/realm.html#Realm-CredentialsMatching On Fri, Jan 26, 2018 at 10:26 AM, Olaf wrote: > Hi, > > I'm looking for a simple function that'll hash a password, like PHP's > password_hash: