No, not at this time.

On 2/22/2016 12:33 PM, gambol wrote:
Hiya ...

I was wondering if it's possible as of 1.9.0 to change or map the roles of a user into new claim .. The reason I ask is https://github.com/kubernetes/kubernetes/pull/21001/files. I know the current implementation uses something akin to the below in the access token.

"resource_access": {
    "client_id": {
      "roles": [
        "role-a",
        "role-b",
        "role-c"
      ]
    },
    "account": {
      "roles": [
        "view-profile",
        "manage-account"
      ]
    }
  },

Any chance via a mapper we could use an string array?

Rohith


_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com