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

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10.1
    • security

    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
          10 kB
          Timothee Maret
        2. JCR-3836.patch
          12 kB
          Timothee Maret

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: