Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3836

Allow to get an Authorizable of a given type

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.10.1
    • Component/s: security
    • Labels:

      Description

      As discussed in [0], API users would benefit from being able to get an Authorizable of a given type.

      In order to allow this, we may add

      <T> T getAuthorizable(@Nonnull String id, Class<T> authorizableClass) throws AuthorizableTypeException
      

      [0] http://jackrabbit.markmail.org/message/iq7zpdxwh5laalfi?q=Adding+AuthorizableMissmatchException+to+jackrabbit+security+API

        Attachments

        1. JCR-3836.patch
          12 kB
          Timothee Maret
        2. JCR-3836.patch
          10 kB
          Timothee Maret

          Issue Links

            Activity

              People

              • Assignee:
                angela Angela Schreiber
                Reporter:
                marett Timothee Maret
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: