tag | 78ab673dd5e63455123bc304592403c970ef259e | |
---|---|---|
tagger | Christian Schneider <cschneider@apache.org> | Mon Nov 10 16:06:53 2014 +0000 |
object | a7e8f6c466146156098b1d33899d95e5a8374a64 |
org.apache.aries.blueprint.authz-1.0.0
commit | a7e8f6c466146156098b1d33899d95e5a8374a64 | [log] [tgz] |
---|---|---|
author | Christian Schneider <cschneider@apache.org> | Mon Nov 10 16:06:53 2014 +0000 |
committer | Christian Schneider <cschneider@apache.org> | Mon Nov 10 16:06:53 2014 +0000 |
tree | a354c166d427215a31f6c2ae3b1e1657d1116717 | |
parent | 326a8927d5e6cb33cbb5e5cc7959ebec4ba60ca2 [diff] |
[maven-release-plugin] copy for tag org.apache.aries.blueprint.authz-1.0.0 git-svn-id: https://svn.apache.org/repos/asf/aries/tags/org.apache.aries.blueprint.authz-1.0.0@1637902 13f79535-47bb-0310-9956-ffa450edef68
An aries blueprint extension that supports role based access control based on a JAAS login and the JEE @RolesAllowed annotation.
install -s mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.authz/1.0.0-SNAPSHOT
To use it add the authz namespace xmlns:authz=“http://aries.apache.org/xmlns/authorization/v1.0.0” to your blueprint file and place a authz:enable/ element at the start of your context.
This will enable annotation scanning for all beans in the context. For bean classes that have the @RolesAllowed annotation an Authorization interceptor will be added. This interceptor will read the JAAS Subject from AccesControlContext and use the principles there to do the authorization.
Sample blueprint snippet