Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-348

Allow ModularRealmAuthorizer to ignore ShiroExceptions thrown by realms when authz is checked.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      This is useful, when you have multiple realms configured and one of those realms throws exceptions. In this case you may not want to stop ALL authz checks because one realm failed.

      <snippet from here>
      From Les:

      Refactoring the ModularRealmAuthorizer to use the Strategy design
      pattern (like the ModularRealmAuthenticator) is probably the best
      approach. This allows pluggable strategies to be used so you don't
      need to subclass.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bdemers Brian Demers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: