|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoginRemote
Mock login remote. Named similarly enough to be mistaken for the DFA API's
login service. Used to test DfaServiceClient and
LoginTokens.
| Method Summary | |
|---|---|
UserProfile |
authenticate(String username,
String password)
Mock of DFA's login service authenticate operation. |
UserProfile |
impersonateNetwork(String username,
String password,
long networkId)
Mock of DFA's login service impersonateNetwork operation. |
UserProfile |
impersonateUser(String username,
String password,
String targetUsername)
Mock of DFA's login service impersonateUser operation. |
| Method Detail |
|---|
UserProfile authenticate(String username,
String password)
username - DFA user profile namepassword - DFA user profile password
UserProfile impersonateUser(String username,
String password,
String targetUsername)
username - DFA superuser profile namepassword - DFA superuser profile passwordtargetUsername - username to impersonate
UserProfile impersonateNetwork(String username,
String password,
long networkId)
username - DFA superuser profile namepassword - DFA superuser profile tokennetworkId - network to impersonate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||