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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IClient
getClient()
Get clientString
getPassword(String username)
Get password for a given userdefault String
getPasswordEncoding(String username)
Get password encoding for a given userRTPSession
getRTPSession()
Get RTP sessionIVHost
getVHost()
Get vhostvoid
setClient(IClient client)
Set clientvoid
setRTPSession(RTPSession rtpSession)
Set RTP sessionvoid
setVHost(IVHost vhost)
Set vhostboolean
userExists(String username)
Return true if user exists
-
-
-
Method Detail
-
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
-
-