[
https://issues.apache.org/jira/browse/JENA-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Warren closed JENA-850.
------------------------------
closing
> 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)