db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-3476) Permissions and Principal objects added by this feature need to be final and have serialization identifiers
Date Wed, 09 Jul 2014 07:38:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055960#comment-14055960
] 

ASF subversion and git services commented on DERBY-3476:
--------------------------------------------------------

Commit 1609039 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1609039 ]

DERBY-3476: Improve serialization of DatabasePermission

Store the URL only once (remove the url field, as the URL is already
stored in Permission.name).

Make the pathType field transient, since it is recalculated on
deserialization anyway.

Store the actions portion of the permission.

> Permissions and Principal objects added by this feature need to be final and have serialization
identifiers
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3476
>                 URL: https://issues.apache.org/jira/browse/DERBY-3476
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Services
>            Reporter: Daniel John Debrunner
>         Attachments: d3476-1a-system-permission.diff, d3476-2a-database-permission.diff
>
>
> Need serialization id to ensure the class is portable across releases.
> Need final to provide security.
> (assumes patch10 is committed from DERBY-2109)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message