Class ReflectionSecurityManager


  • public class ReflectionSecurityManager
    extends SecurityManager
    A custom security manager that exposes the getClassContext() information. Source on SO
    Author:
    Someone on SO
    • Constructor Detail

      • ReflectionSecurityManager

        public ReflectionSecurityManager()
    • Method Detail

      • getCallerClassContext

        @Nonnull
        public Class<?>[] getCallerClassContext()
      • getCallerClass

        @Nonnull
        public Class<?> getCallerClass​(int nCallStackDepth)
      • getCallerClassName

        @Nonnull
        public String getCallerClassName​(int nCallStackDepth)