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 "Stefano Bagnara (JIRA)" <ji...@apache.org> on 2010/08/22 23:46:16 UTC

[jira] Assigned: (JDKIM-19) Change scope on 2 variables in DKIMSign to support subclassing

     [ https://issues.apache.org/jira/browse/JDKIM-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara reassigned JDKIM-19:
------------------------------------

    Assignee: Stefano Bagnara

> Change scope on 2 variables in DKIMSign to support subclassing
> --------------------------------------------------------------
>
>                 Key: JDKIM-19
>                 URL: https://issues.apache.org/jira/browse/JDKIM-19
>             Project: JAMES jDKIM
>          Issue Type: Improvement
>          Components: mailet
>    Affects Versions: 0.2
>         Environment: software, mailet
>            Reporter: Jerry Malcolm
>            Assignee: Stefano Bagnara
>             Fix For: 0.2
>
>
> 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.
> Request to change scope on pfivateKey and signatureTemplate variables from private to protected to support subclassing of this mailet

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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