Package waffle.mock
Class MockWindowsAccount
java.lang.Object
waffle.mock.MockWindowsAccount
- All Implemented Interfaces:
IWindowsAccount
The Class MockWindowsAccount.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMockWindowsAccount(String newFqn) Instantiates a new mock windows account.MockWindowsAccount(String newFqn, String newSid) Instantiates a new mock windows account. -
Method Summary
-
Field Details
-
TEST_USER_NAME
The Constant TEST_USER_NAME.- See Also:
-
TEST_PASSWORD
The Constant TEST_PASSWORD.- See Also:
-
-
Constructor Details
-
MockWindowsAccount
Instantiates a new mock windows account.- Parameters:
newFqn- the new fqn
-
MockWindowsAccount
Instantiates a new mock windows account.- Parameters:
newFqn- the new fqnnewSid- the new sid
-
-
Method Details
-
getDomain
Description copied from interface:IWindowsAccountDomain name.- Specified by:
getDomainin interfaceIWindowsAccount- Returns:
- String.
-
getFqn
Description copied from interface:IWindowsAccountFully qualified username.- Specified by:
getFqnin interfaceIWindowsAccount- Returns:
- String.
-
getName
Description copied from interface:IWindowsAccountUser name.- Specified by:
getNamein interfaceIWindowsAccount- Returns:
- String.
-
getSidString
Description copied from interface:IWindowsAccountSecurity identifier.- Specified by:
getSidStringin interfaceIWindowsAccount- Returns:
- String in the S- format.
-