directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liqi Yi (JIRA)" <>
Subject [jira] [Commented] (DIRKRB-265) Fix issues in Kerby-kerb Common module
Date Fri, 05 Jun 2015 09:19:01 GMT


Liqi Yi commented on DIRKRB-265:

There are several cases where the internal representation of a static final field is returned,
for example: 
In, PA_TYPES was defined as 
    private static final PaDataType[] PA_TYPES = new PaDataType[] {
And then PA_TYPES was returned by function getPaTypes(). This type of use was reported as
“may expose internal representation”. If the SecurityManager works, the field PA_TYPES
won’t be modified. Do we want to create a copy of PA_TYPES and return that instead? 

> Fix issues in Kerby-kerb Common module
> --------------------------------------
>                 Key: DIRKRB-265
>                 URL:
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Jiajia Li
>            Assignee: Liqi Yi
>         Attachments: DIRKRB-265.001.patch

This message was sent by Atlassian JIRA

View raw message