You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Merve Temizer <me...@gmail.com> on 2012/09/13 15:25:05 UTC

Accessing via POP3 and Javamail with an encrypted password

I need to connect with Javamail to James using a SHA encrypted password
string.

But I think James need plain text.

I have the code below

                 // Get a Store object that implements the specified
protocol.
      Store store = session.getStore("pop3");
      //Connect to the current host using the specified username and
password.
      store.connect(host,Integer.parseInt(port), user, password);

my "password" String is encrypted.

I am getting "Authentication failed" error.

Also i am using LDAP to authenticate James.

Re: Accessing via POP3 and Javamail with an encrypted password

Posted by Eric Charles <er...@apache.org>.
Are you referring to APOP protocols, which btw I don't think James supports?

Thx, Eric

On 13/09/2012 14:25, Merve Temizer wrote:
> I need to connect with Javamail to James using a SHA encrypted password
> string.
>
> But I think James need plain text.
>
> I have the code below
>
>                   // Get a Store object that implements the specified
> protocol.
>        Store store = session.getStore("pop3");
>        //Connect to the current host using the specified username and
> password.
>        store.connect(host,Integer.parseInt(port), user, password);
>
> my "password" String is encrypted.
>
> I am getting "Authentication failed" error.
>
> Also i am using LDAP to authenticate James.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org