[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-user
Subject:    Re: Subclassing DKIMSign mailet
From:       Norman Maurer <norman () apache ! org>
Date:       2010-08-16 16:14:59
Message-ID: AANLkTindsSyVGoM+H1RY5vSGUR8X+B5OEMpJNNPm7R0P () mail ! gmail ! com
[Download RAW message or body]

Hi,

here ya go
https://issues.apache.org/jira/browse/JDKIM

Bye,
Norman

2010/8/16 Jerry M <techstuff@malcolms.com>:
>  Thanks.  Could you give me a link to info on how to open a jira ticket?
>
> Jerry
>
> On 8/16/2010 3:45 AM, Norman Maurer wrote:
>>
>> Hi Jerry,
>>
>> just create a jira ticket for it. I'm sure we can get rid of it ;)
>>
>> Bye.
>> Norman
>>
>> 2010/8/16 Jerry M<techstuff@malcolms.com>:
>>>
>>>  Stephano,
>>>
>>> I need to have separate private keys for DKIM for different domains that
>>> I
>>> host on my server.  I plan to create a database table that looks up the
>>> private key based on the domain.  I figured I could subclass your
>>> DKIMSign
>>> mailet, override the service method, set the privateKey and
>>> signatureTemplate variables and then call the parent service method.  But
>>> it
>>> turns out that the privateKey and signatureTemplate variables are scoped
>>> to
>>> 'private'.  I know I can just clone the entire method or even the entire
>>> java class file.  But I'd much prefer to inherit everything other than
>>> that
>>> one little change I need.  But I can't do it with private scope on the
>>> key
>>> and template.
>>>
>>> Any chance I could get you to change the scope of those variables to
>>> protected so they would be accessible to subclasses the next time you're
>>> in
>>> that file?
>>>
>>> Thanks.
>>>
>>> Jerry
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic