Class DatarouterAccountUserService

java.lang.Object
io.datarouter.auth.service.DatarouterAccountUserService

@Singleton
public class DatarouterAccountUserService
extends Object
  • Constructor Details

  • Method Details

    • getAllAccountNamesWithUserMappingsEnabled

      public List<String> getAllAccountNamesWithUserMappingsEnabled()
    • scanAllAccountNames

      public io.datarouter.scanner.Scanner<String> scanAllAccountNames()
    • userCanAccessAccount

      public boolean userCanAccessAccount​(io.datarouter.web.user.session.service.Session session, String accountName)
    • findAccountNamesForUser

      public Set<String> findAccountNamesForUser​(io.datarouter.web.user.session.service.SessionBasedUser user)
    • findAccountNamesForUser

      public Set<String> findAccountNamesForUser​(io.datarouter.web.user.session.service.Session session)
    • findFirstAccountCredentialForUser

      public Optional<DatarouterAccountCredential> findFirstAccountCredentialForUser​(io.datarouter.web.user.session.service.Session session)
    • scanAccountsForUser

      public io.datarouter.scanner.Scanner<DatarouterAccount> scanAccountsForUser​(io.datarouter.web.user.session.service.Session session)