Class SpringSecuritySentryUserProvider

  • All Implemented Interfaces:
    SentryUserProvider

    public final class SpringSecuritySentryUserProvider
    extends java.lang.Object
    implements SentryUserProvider
    Resolves user information from Spring Security Authentication obtained via SecurityContextHolder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable io.sentry.protocol.User provideUser()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringSecuritySentryUserProvider

        public SpringSecuritySentryUserProvider​(@NotNull
                                                @NotNull io.sentry.SentryOptions options)