Package waffle.mock
Class MockWindowsAccount
java.lang.Object
waffle.mock.MockWindowsAccount
- All Implemented Interfaces:
waffle.windows.auth.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
- Specified by:
getDomain
in interfacewaffle.windows.auth.IWindowsAccount
-
getFqn
- Specified by:
getFqn
in interfacewaffle.windows.auth.IWindowsAccount
-
getName
- Specified by:
getName
in interfacewaffle.windows.auth.IWindowsAccount
-
getSidString
- Specified by:
getSidString
in interfacewaffle.windows.auth.IWindowsAccount
-