Package com.avoka.tm.vo
Class RestCFG.Authorisation
java.lang.Object
com.avoka.tm.vo.RestCFG.Authorisation
- Enclosing class:
- RestCFG
Provides an Authorisation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The Authorisation Types -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the domain name.Return the user login password.getType()
Return the request Authorisation Type (BASIC|NTLM).Return the user login name.Return the workstation computer name.void
Set the domain name.void
setPassword
(String password) Set the user login password.void
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.
-
Constructor Details
-
Authorisation
public Authorisation()
-
-
Method Details
-
getDomain
Return the domain name. This is part of NTLM Authorization credentials.- Returns:
- the domain name which user login belongs to
-
setDomain
Set the domain name. This is part of NTLM Authorization credentials.- Parameters:
domain
- the domain name which user login belongs to
-
getPassword
Return the user login password.- Returns:
- the user login password
-
setPassword
Set the user login password.- Parameters:
password
- the user login password
-
getType
Return the request Authorisation Type (BASIC|NTLM).- Returns:
- the request Authorisation Type
-
setType
Set the request Authorisation Type (BASIC|NTLM).- Parameters:
type
- the request Authorisation Type (BASIC|NTLM)
-
getUserName
Return the user login name.- Returns:
- the user login name
-
setUserName
Set the user login name.- Parameters:
userName
- the user login name
-
getWorkstation
Return the workstation computer name. This is part of NTLM Authorization credentials.- Returns:
- the workstation computer name
-
setWorkstation
Set the workstation computer name. This is part of NTLM Authorization credentials.- Parameters:
workstation
- the workstation computer name
-