Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
componente central
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TSE2019-G1
componente central
Commits
5f908fa1
Commit
5f908fa1
authored
6 years ago
by
Faller
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
670cce01
61c7e490
No related branches found
No related tags found
No related merge requests found
Pipeline
#6607
passed with warnings
6 years ago
Stage: deploy-nexus
Stage: deploy-nube
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
central-ejb/src/main/java/uy/edu/fing/tse/central/business/security/SecurityBean.java
+3
-3
3 additions, 3 deletions
.../edu/fing/tse/central/business/security/SecurityBean.java
with
3 additions
and
3 deletions
central-ejb/src/main/java/uy/edu/fing/tse/central/business/security/SecurityBean.java
+
3
−
3
View file @
5f908fa1
...
...
@@ -69,9 +69,9 @@ public class SecurityBean implements SecurityLocal, SecurityRemote {
try
{
//Valido la password
final
var
userFO
=
(
UserFO
)
users
.
find
(
user
.
getMail
());
final
var
salt
=
user
.
get
Salt
(
);
final
var
thisPassword
=
Secure
.
encriptPBKDF
(
user
.
get
Password
(),
s
alt
);
final
UserFO
userFO2
=
(
UserFO
)
users
.
find
(
user
.
get
Mail
()
);
String
salt2
=
user
FO2
.
get
S
alt
(
);
final
var
thisPassword
=
Secure
.
encriptPBKDF
(
user
.
getPassword
(),
salt2
);
if
(
Objects
.
equals
(
thisPassword
,
user
.
getPassword
()))
{
userFO
.
setTokenDispositivo
(
user
.
getTokenDispositivo
());
users
.
update
(
userFO
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment