Skip to content

implemented authentication service using filter#662

Open
irynamatveieva wants to merge 1 commit into
mate-academy:masterfrom
irynamatveieva:jv-web-security
Open

implemented authentication service using filter#662
irynamatveieva wants to merge 1 commit into
mate-academy:masterfrom
irynamatveieva:jv-web-security

Conversation

@irynamatveieva
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

}
return Optional.ofNullable(driver);
} catch (SQLException e) {
throw new DataProcessingException("Can't find driver", e);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

"Can't find driver" is not correct message. In case drives wasn't found you'd return empty Optional. Exception will be thrown if we couldn't obtain any results due to failure

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