db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3477) Make format principal names in SystemPermission (e.g. policy files) match the standard way Derby handles authorization identifiers in a Java context.
Date Mon, 03 Mar 2008 16:42:50 GMT

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

Daniel John Debrunner commented on DERBY-3477:
----------------------------------------------

Given the way that jvm's handle principals in policy files, namely equality is based upon
the Prinicipal's class name and return from getName I think the only conclusion is that the
format of the name for Derby's SystemPrinicipal is the common normal form of the name.

principal org.apache.derby.authentication.SystemPrinicipal "FRED"; // cnf of fred (JDBC user
name as a Java literal could be "FRED" or "fred")

principal org.apache.derby.authentication.SystemPrinicipal "fred";  // cnf of fred ( JDBC
user name as a Java literal is "\"fred\"")

principal org.apache.derby.authentication.SystemPrinicipal "fred@acme.com";  // cnf of fred@acme.com
( JDBC user name as a Java literal is "\"fred@acme.com\"")



> Make format principal names in SystemPermission (e.g. policy files) match the standard
way Derby handles authorization identifiers in a Java context.
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3477
>                 URL: https://issues.apache.org/jira/browse/DERBY-3477
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Security
>            Reporter: Daniel John Debrunner
>
> Expected format described in:
> https://issues.apache.org/jira/browse/DERBY-2109?focusedCommentId=12561537#action_12561537

> Comments in DERBY--2109 around patch 10 indicate some issue around implementing this,
it would be good to see the code that attempted to implement it to help figure out the problem.

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


Mime
View raw message