public static class ClientConfigImpl.SASLImpl extends java.lang.Object implements ClientConfig.SASL
Constructor and Description |
---|
SASLImpl(java.lang.String userName,
java.lang.String password)
Constructor for authentication without an explicit authorization
role.
|
SASLImpl(java.lang.String userName,
java.lang.String password,
java.lang.String role)
Constructor for authentication with authorization role.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPass()
Get the password.
|
java.lang.String |
getRole()
Get the authorization role.
|
java.lang.String |
getUser()
Get the user name.
|
public SASLImpl(java.lang.String userName, java.lang.String password)
userName
- the user namepassword
- the passwordpublic SASLImpl(java.lang.String userName, java.lang.String password, java.lang.String role)
userName
- the user namepassword
- the passwordrole
- the authorization rolepublic java.lang.String getUser()
getUser
in interface ClientConfig.SASL
public java.lang.String getPass()
getPass
in interface ClientConfig.SASL
public java.lang.String getRole()
getRole
in interface ClientConfig.SASL
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.