Package com.avoka.tm.vo
Class RestCFG.Authorisation
- java.lang.Object
-
- com.avoka.tm.vo.RestCFG.Authorisation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestCFG.Authorisation.AuthorisationTypeThe Authorisation Types
-
Constructor Summary
Constructors Constructor Description Authorisation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDomain()Return the domain name.StringgetPassword()Return the user login password.RestCFG.Authorisation.AuthorisationTypegetType()Return the request Authorisation Type (BASIC|NTLM).StringgetUserName()Return the user login name.StringgetWorkstation()Return the workstation computer name.voidsetDomain(String domain)Set the domain name.voidsetPassword(String password)Set the user login password.voidsetType(RestCFG.Authorisation.AuthorisationType type)Set the request Authorisation Type (BASIC|NTLM).voidsetUserName(String userName)Set the user login name.voidsetWorkstation(String workstation)Set the workstation computer name.
-
-
-
Method Detail
-
getDomain
public String getDomain()
Return the domain name. This is part of NTLM Authorization credentials.- Returns:
- the domain name which user login belongs to
-
setDomain
public void setDomain(String domain)
Set the domain name. This is part of NTLM Authorization credentials.- Parameters:
domain- the domain name which user login belongs to
-
getPassword
public String getPassword()
Return the user login password.- Returns:
- the user login password
-
setPassword
public void setPassword(String password)
Set the user login password.- Parameters:
password- the user login password
-
getType
public RestCFG.Authorisation.AuthorisationType getType()
Return the request Authorisation Type (BASIC|NTLM).- Returns:
- the request Authorisation Type
-
setType
public void setType(RestCFG.Authorisation.AuthorisationType type)
Set the request Authorisation Type (BASIC|NTLM).- Parameters:
type- the request Authorisation Type (BASIC|NTLM)
-
getUserName
public String getUserName()
Return the user login name.- Returns:
- the user login name
-
setUserName
public void setUserName(String userName)
Set the user login name.- Parameters:
userName- the user login name
-
getWorkstation
public String getWorkstation()
Return the workstation computer name. This is part of NTLM Authorization credentials.- Returns:
- the workstation computer name
-
setWorkstation
public void setWorkstation(String workstation)
Set the workstation computer name. This is part of NTLM Authorization credentials.- Parameters:
workstation- the workstation computer name
-
-