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 class
RestCFG.Authorisation.AuthorisationType
The Authorisation Types
-
Constructor Summary
Constructors Constructor Description Authorisation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDomain()
Return the domain name.String
getPassword()
Return the user login password.RestCFG.Authorisation.AuthorisationType
getType()
Return the request Authorisation Type (BASIC|NTLM).String
getUserName()
Return the user login name.String
getWorkstation()
Return the workstation computer name.void
setDomain(String domain)
Set the domain name.void
setPassword(String password)
Set the user login password.void
setType(RestCFG.Authorisation.AuthorisationType type)
Set the request Authorisation Type (BASIC|NTLM).void
setUserName(String userName)
Set the user login name.void
setWorkstation(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
-
-