Class WhiteboardUserAuthenticationFactory

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory

    public class WhiteboardUserAuthenticationFactory
    extends org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory>
    implements org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory
    Dynamic UserAuthenticationFactory based on the available whiteboard services.
    • Constructor Summary

      Constructors 
      Constructor Description
      WhiteboardUserAuthenticationFactory​(@Nullable org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory defaultFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable org.apache.jackrabbit.oak.spi.security.authentication.Authentication getAuthentication​(@NotNull org.apache.jackrabbit.oak.spi.security.user.UserConfiguration userConfiguration, @NotNull org.apache.jackrabbit.oak.api.Root root, @Nullable java.lang.String userId)  
      • Methods inherited from class org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker

        getServices, start, stop
      • Methods inherited from class java.lang.Object

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

      • WhiteboardUserAuthenticationFactory

        public WhiteboardUserAuthenticationFactory​(@Nullable
                                                   @Nullable org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory defaultFactory)
    • Method Detail

      • getAuthentication

        @Nullable
        public @Nullable org.apache.jackrabbit.oak.spi.security.authentication.Authentication getAuthentication​(@NotNull
                                                                                                                @NotNull org.apache.jackrabbit.oak.spi.security.user.UserConfiguration userConfiguration,
                                                                                                                @NotNull
                                                                                                                @NotNull org.apache.jackrabbit.oak.api.Root root,
                                                                                                                @Nullable
                                                                                                                @Nullable java.lang.String userId)
        Specified by:
        getAuthentication in interface org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory