com.wowza.wms.authentication
Interface IAuthenticateUsernamePasswordProvider

All Known Implementing Classes:
AuthenticateUsernamePasswordProviderBase

public interface IAuthenticateUsernamePasswordProvider

IAuthenticateUsernamePasswordProvider: HTTP and RTSP username/password validator interface


Method Summary
 IClient getClient()
          Get client
 String getPassword(String username)
          Get password for a given user
 RTPSession getRTPSession()
          Get RTP session
 IVHost getVHost()
          Get vhost
 void setClient(IClient client)
          Set client
 void setRTPSession(RTPSession rtpSession)
          Set RTP session
 void setVHost(IVHost vhost)
          Set vhost
 boolean userExists(String username)
          Return true if user exists
 

Method Detail

getClient

IClient getClient()
Get client

Returns:
client

getPassword

String getPassword(String username)
Get password for a given user

Parameters:
username - username
Returns:
password

getRTPSession

RTPSession getRTPSession()
Get RTP session

Returns:
RTP session

getVHost

IVHost getVHost()
Get vhost

Returns:
vhost

setClient

void setClient(IClient client)
Set client

Parameters:
client - client

setRTPSession

void setRTPSession(RTPSession rtpSession)
Set RTP session

Parameters:
rtpSession - RTP session

setVHost

void setVHost(IVHost vhost)
Set vhost

Parameters:
vhost - vhost

userExists

boolean userExists(String username)
Return true if user exists

Parameters:
username - username
Returns:
true if user exists