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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Authorisation Types -
Constructor Summary
Constructors -
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.voidSet the domain name.voidsetPassword(String password) Set the user login password.voidSet the request Authorisation Type (BASIC|NTLM).voidsetUserName(String userName) Set the user login name.voidsetWorkstation(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
-