Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash enroll servlet free vlv #4756

Merged
merged 2 commits into from
May 29, 2024

Conversation

fmarco76
Copy link
Member

No description provided.

@fmarco76 fmarco76 requested a review from edewata May 27, 2024 18:13
Copy link

Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -304,15 +302,15 @@ protected void processX509(CMSRequest cmsReq)

String certauthEnrollType = null;

if (certAuthEnroll == true) {
if (certAuthEnroll) {
certauthEnrollType =
httpParams.getValueAsString("certauthEnrollType", null);
if (certauthEnrollType != null) {
if (certauthEnrollType.equals("dual")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency we can use CERT_AUTH_DUAL here.

Fixed the following sonar identified problems:
- removed some variable not used
- merged catch exceptions
- Replaced StringBuffer with StringBuilder
- Modify the logs to use string format instead of concatenation
@fmarco76 fmarco76 force-pushed the HashEnrollServletFreeVLV branch from 059a070 to a5fa466 Compare May 29, 2024 08:30
@fmarco76 fmarco76 merged commit b603eac into dogtagpki:master May 29, 2024
21 of 27 checks passed
@fmarco76
Copy link
Member Author

@edewata Thanks! I have updated as for your comment.

@fmarco76 fmarco76 deleted the HashEnrollServletFreeVLV branch May 29, 2024 08:32
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