-
Notifications
You must be signed in to change notification settings - Fork 2
fdrouet/plcrowd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Prerequisites * Play 1.2 == Installation * Add the following lines in your dependencies.yml to add plcrowd module to your project : bc. require: - play 1.2 - ... - org.tarpoon -> plcrowd 0.7.0 # My repositories repositories: - fdrouet: type: http artifact: "http://dl.dropbox.com/u/1769530/play/modules/[module]/[module]-[revision].zip" contains: - org.tarpoon -> * * Then update your dependencies to download all the needed libraries : bc. play dependencies --sync * Add in your application.conf the location of your crowd.properties file : bc. ... plcrowd.crowd.properties=crowd.properties ... * copy your crowd.properties in the conf directory of your Play application. == Content For the complete user guide, use the documentation embedded in your Play application (DEV mode only) : http://localhost:9000/@documentation/modules/plcrowd/home === Changelog ==== 0.8.0 * (+) CrowdSecurity.getUserGroups() to get all the groups of the current logged-in user (the groups are cached for 30 minutes) * (+) new macro #{user.memberOf group:'my-group'} what i want #{/user.memberOf} to execute things only the user is member of the specified group * improvement of the macros #{crowd.anonymous} and #{crowd.authenticated} ==== 0.7.0 * #3 (+) the CrowdClient is reachable outside a Controller by using the CrowdUtils.getCrowdClient methods (you can now send requests to crowd from a Job) * (+) add some documentation in the module ==== 0.6.0 * (+) expose getCrowdClient to controllers which inherit of CrowdSecurity controller * (+) expose getCurrentUserLogin to controllers which inherit of CrowdSecurity controller * (+) expose getCurrentUserDisplayName controllers which inherit of CrowdSecurity controller * (+) simple #{crowd.printDisplayName /} ==== 0.5.0 * (+) authenticate against a crowd server
About
Playframework Security module for Crowd
Resources
Stars
Watchers
Forks
Packages 0
No packages published