You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2015/07/12 15:01:04 UTC
[jira] [Resolved] (JENA-850) The return type of the
SecurityEvaluator.getPrincipal() is to restrictive.
[ https://issues.apache.org/jira/browse/JENA-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Warren resolved JENA-850.
--------------------------------
Resolution: Fixed
Fix Version/s: Jena 3.0.0
Jena 2.13.1
Fixed by previous changes
> The return type of the SecurityEvaluator.getPrincipal() is to restrictive.
> --------------------------------------------------------------------------
>
> Key: JENA-850
> URL: https://issues.apache.org/jira/browse/JENA-850
> Project: Apache Jena
> Issue Type: Bug
> Components: Security
> Affects Versions: Jena 2.12.1
> Environment: All
> Reporter: Claude Warren
> Assignee: Claude Warren
> Labels: permissions, security
> Fix For: Jena 2.13.1, Jena 3.0.0
>
>
> SecurityEvaluator.getPrincipal() is requried to be used in all other SecurityEvaluator methods, however, the return type "Principal" is to restrictive for some implementations.
> The Principal is to be retrieved from the Authorization system, and in general may be a Principal, but in some cases, as in when integrating with Apache Shiro, it needs to be a differnt object type.
> The probable fix is to have getPrincipal() return a generic Object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)