Skip to content

Authentication and loginService are realized#670

Open
YaroslavKostenko89 wants to merge 1 commit into
mate-academy:masterfrom
YaroslavKostenko89:hw-web-security
Open

Authentication and loginService are realized#670
YaroslavKostenko89 wants to merge 1 commit into
mate-academy:masterfrom
YaroslavKostenko89:hw-web-security

Conversation

@YaroslavKostenko89
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@olekskov olekskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job.
Please pay attention to comment below for further tasks

&& Objects.equals(licenseNumber, driver.licenseNumber);
&& Objects.equals(licenseNumber, driver.licenseNumber)
&& Objects.equals(login, driver.login)
&& Objects.equals(password, driver.password);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not recommend to add password to equals/hashcode methods.
Further it will be encrypted and depending on hashing algorithm this may cause improper comparison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants