Package waffle.mock
Class MockWindowsAccount
java.lang.Object
waffle.mock.MockWindowsAccount
- All Implemented Interfaces:
IWindowsAccount
The Class MockWindowsAccount.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMockWindowsAccount
(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:IWindowsAccount
Domain name.- Specified by:
getDomain
in interfaceIWindowsAccount
- Returns:
- String.
-
getFqn
Description copied from interface:IWindowsAccount
Fully qualified username.- Specified by:
getFqn
in interfaceIWindowsAccount
- Returns:
- String.
-
getName
Description copied from interface:IWindowsAccount
User name.- Specified by:
getName
in interfaceIWindowsAccount
- Returns:
- String.
-
getSidString
Description copied from interface:IWindowsAccount
Security identifier.- Specified by:
getSidString
in interfaceIWindowsAccount
- Returns:
- String in the S- format.
-