Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Berkano
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p><table class="wysiwyg-macro" data-macro-name="excerpt" data-macro-parameters="atlassian-macro-output-type=BLOCK" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2V4Y2VycHQ6YXRsYXNzaWFuLW1hY3JvLW91dHB1dC10eXBlPUJMT0NLfQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"> <p>A simple user management library. Contains a simple user model and a couple of DAOs, profile and password management components. Current dao implementations are hibernate-based. Should happily replace OSUser.</p></td></tr></table></p> <p>Berkano-user was started long ago, then re-used once I got disapointed with osuser. Still has a couple of old classes or ideas here and there, needs clean up and polishing.</p> <h2>User management</h2> <p>Berkano-user defines a couple of interface for users, groups, permissions, membership management. Much like os-user does, but maybe with a more "modern" architecture.<br /> All these are based on the principles of IoC, using CDI (constructor dependency injection). I'm personally using PicoContainer, but I believe Spring or any other ioc container should be usable as well.<br /> You will need to declare the implementations you want to use to your container.<br /> There is currently a single implementation, which is based on Hibernate.<br /> Foreseen implementations could be JDO(is this still alive?), EJB3 (maybe the Hibernate implementation could fulfill both needs?), plain SQL(do we really want to maintain this?), LDAP, and delegators to application servers' authentication APIs.<br /> <a class="confluence-link" href="/display/BERKANO/User+Datamodel" data-linked-resource-id="43267" data-linked-resource-type="page" data-linked-resource-default-alias="User Datamodel" data-base-url="http://docs.codehaus.org">User Datamodel</a><br /> <a class="confluence-link" href="/display/BERKANO/Berkano+User+UI+for+WebWork" data-linked-resource-id="17924" data-linked-resource-type="page" data-linked-resource-default-alias="Berkano User UI for WebWork" data-base-url="http://docs.codehaus.org">Berkano User UI for WebWork</a> provides an UI for this.</p> <h2>User Preferences</h2> <p>Berkano-user defines simple interfaces to define the preferences that an application wants to expose to the end-user, ie what properties s/he can freely modify to suit his needs.<br /> <a class="confluence-link" href="/display/BERKANO/User+Preferences" data-linked-resource-id="27425" data-linked-resource-type="page" data-linked-resource-default-alias="User Preferences" data-base-url="http://docs.codehaus.org">Read more</a>.<br /> <a class="confluence-link" href="/display/BERKANO/Berkano+User+UI+for+WebWork" data-linked-resource-id="17924" data-linked-resource-type="page" data-linked-resource-default-alias="Berkano User UI for WebWork" data-base-url="http://docs.codehaus.org">Berkano User UI for WebWork</a> provides an UI for this purpose.</p> <h2>Passwords</h2> <p>Berkano-user also defines interfaces and a couple of implementations for</p> <ul> <li>Password generation strategies (Used to generate a random password for new users, or to reset "forgotten" password, for instance). See <a href="http://berkano.codehaus.org/maven/berkano-user/apidocs/net/incongru/berkano/security/password/PasswordGenerator.html">Javadoc for PasswordGenerator</a></li> <li>Password matching and encoding strategies. See <a href="http://berkano.codehaus.org/maven/berkano-user/apidocs/net/incongru/berkano/security/password/PasswordMatchingStrategy.html">Javadoc for PasswordMatchingStrategy</a></li> <li>Password retrieval strategies (mail current password, mail newly generated password, ...). See <a href="http://berkano.codehaus.org/maven/berkano-user/apidocs/net/incongru/berkano/security/password/PasswordRetrievalStrategy.html">Javadoc for PasswordRetrievalStrategy</a><br /> All these are also based on the principles of IoC/CDI.<br /> <a class="confluence-link" href="/display/BERKANO/Berkano+User+UI+for+WebWork" data-linked-resource-id="17924" data-linked-resource-type="page" data-linked-resource-default-alias="Berkano User UI for WebWork" data-base-url="http://docs.codehaus.org">Berkano User UI for WebWork</a> provides an UI for this purpose.</li> </ul>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced