Class WhiteboardUserAuthenticationFactory

    • Constructor Detail

      • WhiteboardUserAuthenticationFactory

        public WhiteboardUserAuthenticationFactory​(@Nullable
                                                   @Nullable UserAuthenticationFactory defaultFactory)
    • Method Detail

      • getAuthentication

        @Nullable
        public @Nullable Authentication getAuthentication​(@NotNull
                                                          @NotNull UserConfiguration userConfiguration,
                                                          @NotNull
                                                          @NotNull Root root,
                                                          @Nullable
                                                          @Nullable java.lang.String userId)
        Description copied from interface: UserAuthenticationFactory
        Returns an implementation Authentication for the specified userId.
        Specified by:
        getAuthentication in interface UserAuthenticationFactory
        Parameters:
        userConfiguration - The user configuration.
        root - The Root that provides repository access.
        userId - The userId for which a user authentication is provided.
        Returns:
        The authentication object for the given configuration and userId or null if this implementation cannot not handle the specified parameters.