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

Added test cases for IdaAuditPlugin #1118

Open
wants to merge 3 commits into
base: release-1.2.0.1
Choose a base branch
from

Conversation

pvsaidurga
Copy link
Contributor

No description provided.

Signed-off-by: Venkata Saidurga Polamraju <[email protected]>
Signed-off-by: Venkata Saidurga Polamraju <[email protected]>
Signed-off-by: Venkata Saidurga Polamraju <[email protected]>
@@ -54,6 +54,9 @@ public void logAudit(Action action, ActionStatus status, AuditDTO audit, Throwab

@Override
public void logAudit(String username, Action action, ActionStatus status, AuditDTO audit, Throwable t) {
if (t!=null && StringUtils.isEmpty(username)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this check and exception added? there can be audits which will not involve user.

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