Class ReportingContext

java.lang.Object
jenkins.security.csp.ReportingContext

@Restricted(org.kohsuke.accmod.restrictions.Beta.class) public class ReportingContext extends Object
The context (user and page) from which a CSP report is received.
Since:
TODO
  • Method Details

    • encodeContext

      public static String encodeContext(@CheckForNull Class<?> ancestorClass, @CheckForNull org.springframework.security.core.Authentication authentication, @NonNull String restOfPath)
    • decodeContext

      public static ReportingContext.DecodedContext decodeContext(String rawContext)