Claude Warren created JENA-850:
----------------------------------

             Summary: 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


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)

Reply via email to