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

Delegate Security Manager for Exit Guard #23

Closed
redcatbear opened this issue Apr 21, 2021 · 1 comment
Closed

Delegate Security Manager for Exit Guard #23

redcatbear opened this issue Apr 21, 2021 · 1 comment
Assignees
Labels
feature Product feature

Comments

@redcatbear
Copy link
Contributor

Situation

Currently the implementation of the SystemExitGuard extension replaces the existing security guard with a specialized one that intercepts the System.exit. This one has now special permissions and it also has no relationship to a pre-existing one. Other than saving it and restoring it later that is.

What would be less invasive is if the replacement took the existing one as delegate and delegates all checks but the exit check to the original one.

Acceptance Criteria

  • ExitGuardSecurityManager delegates all checks to the preexisting one (with exception of the intercepted system exit.
  • If no security manager was set, then all checks are granted.
@redcatbear
Copy link
Contributor Author

Closed with #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

1 participant