Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-850

The return type of the SecurityEvaluator.getPrincipal() is to restrictive.

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              claude Claude Warren
              Reporter:
              claude Claude Warren
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: