[keycloak-user] understanding the photoz example

Avinash Kundaliya avinash at avinash.com.np
Mon Dec 26 04:28:02 EST 2016


I have been going through the photoz example and I am curious how does 
the drool application know the resource owner [1] or get details about 
the resource in general ? Can this be done with a javascript based policy?

Is there a post/description about how the photoz example works and how 
information flows in this example. I am trying to understand via the 
code as of now, the Readme is a good introduction of what it does, but 
not enough to understand what's really happening?

I am having a hard time understanding how to setup keycloak 
authorization and also missing documentation/explanation on how to do 
things. If there's a resource that someone could refer to, that would be 
great.

[1] 
https://github.com/keycloak/keycloak/blob/master/examples/authz/photoz/photoz-authz-policy/src/main/resources/com.photoz.authz.policy.resource.owner/Main.drl#L11

Regards,
Avinash



More information about the keycloak-user mailing list