Interface IAuthenticateUsernamePasswordProvider

All Known Implementing Classes:
AuthenticateUsernamePasswordProviderBase

public interface IAuthenticateUsernamePasswordProvider

IAuthenticateUsernamePasswordProvider: HTTP and RTSP username/password validator interface

  • Method Details

    • userExists

      boolean userExists(String username)
      Return true if user exists
      Parameters:
      username - username
      Returns:
      true if user exists
    • getPassword

      String getPassword(String username)
      Get password for a given user
      Parameters:
      username - username
      Returns:
      password
    • getPasswordEncoding

      default String getPasswordEncoding(String username)
      Get password encoding for a given user
      Parameters:
      username - username
      Returns:
      password encoding, to determine how to validate the password
    • getVHost

      IVHost getVHost()
      Get vhost
      Returns:
      vhost
    • setVHost

      void setVHost(IVHost vhost)
      Set vhost
      Parameters:
      vhost - vhost
    • getClient

      IClient getClient()
      Get client
      Returns:
      client
    • setClient

      void setClient(IClient client)
      Set client
      Parameters:
      client - client
    • getRTPSession

      RTPSession getRTPSession()
      Get RTP session
      Returns:
      RTP session
    • setRTPSession

      void setRTPSession(RTPSession rtpSession)
      Set RTP session
      Parameters:
      rtpSession - RTP session