Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-5958

An obsolete Identity model is used in code snippets

    XMLWordPrintable

    Details

      Description

      There is an obsolete Identity model used in documentation's code snippets.
      Link to documentation's code snippets: http://www.keycloak.org/docs/3.4/authorization_services/index.html#examples
      Link to the Identity model: https://github.com/keycloak/keycloak/blob/3.4.0.Final/server-spi-private/src/main/java/org/keycloak/authorization/identity/Identity.java

      The hasRole method is not supported until 3.4.0.Final version. I suggest rename the method to hasRealmRole or hasClientRole.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor
                Reporter:
                tnocon Tomasz NocoĊ„
                Tester:
                Zuzana Schwarzova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: