use of com.zimbra.cs.client.soap.LmcAdminAuthResponse in project zm-mailbox by Zimbra.
the class TestUtil method getAdminSoapSession.
public static LmcSession getAdminSoapSession() throws Exception {
// Authenticate
LmcAdminAuthRequest auth = new LmcAdminAuthRequest();
auth.setUsername(LC.zimbra_ldap_user.value());
auth.setPassword(LC.zimbra_ldap_password.value());
LmcAdminAuthResponse authResp = (LmcAdminAuthResponse) auth.invoke(getAdminSoapUrl());
return authResp.getSession();
}
Aggregations