The code in the method public IMAPStore initImap(final Credentials cred)
open-xchange-admin-plugin-imap/src/com/openexchange/admin/rmi/impl/OXUserIMAPImpl.java
Code:
public IMAPStore initImap(final Credentials cred) throws OXUserIMAPException { final User user = new User(); if( cred == null ) { throw new OXUserIMAPException("credential object is null"); } user.setName(cred.getLogin()); user.setPassword(cred.getPassword()); return this.initImap(user, null); }
Leave a comment: