Package com.wowza.wms.authentication
Interface IAuthenticateUsernamePasswordProvider
- All Known Implementing Classes:
AuthenticateUsernamePasswordProviderBase
public interface IAuthenticateUsernamePasswordProvider
IAuthenticateUsernamePasswordProvider: HTTP and RTSP username/password validator interface
-
Method Summary
Modifier and TypeMethodDescriptionGet clientgetPassword
(String username) Get password for a given userdefault String
getPasswordEncoding
(String username) Get password encoding for a given userGet RTP sessiongetVHost()
Get vhostvoid
Set clientvoid
setRTPSession
(RTPSession rtpSession) Set RTP sessionvoid
Set vhostboolean
userExists
(String username) Return true if user exists
-
Method Details
-
userExists
Return true if user exists- Parameters:
username
- username- Returns:
- true if user exists
-
getPassword
Get password for a given user- Parameters:
username
- username- Returns:
- password
-
getPasswordEncoding
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
Set vhost- Parameters:
vhost
- vhost
-
getClient
IClient getClient()Get client- Returns:
- client
-
setClient
Set client- Parameters:
client
- client
-
getRTPSession
RTPSession getRTPSession()Get RTP session- Returns:
- RTP session
-
setRTPSession
Set RTP session- Parameters:
rtpSession
- RTP session
-