Hi,

Better ask your question on the pac4j mailing list directly:
https://groups.google.com/forum/?fromgroups#!forum/pac4j-users.

In the buji-pac4j extension, there is no default roles and permissions
granted by the realm. The mechanism is a bit more generic
(https://github.com/bujiio/buji-pac4j/blob/master/core/src/main/java/io/buji/pac4j/ClientRealm.java#L147):
the roles and permissions are found in the user profile and populated for
Shiro.

So to grant default roles / permissions, you just need to define the
appropriate authorization generator
(https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/authorization/AuthorizationGenerator.java)
to grant default roles and permissions for your user profile and set this
authorization generator in your client.

It makes me think that this authorization generator should be available in
pac4j.

Any contribution will be welcome.

Thanks.
Best regards,
Jérôme




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/I-want-to-send-permissionAttributeNames-roleAttributeNames-properties-with-buji-pac4j-to-my-proxied-t-tp7580473p7580530.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to