net.incongru.berkano.user.extensions
Class BerkanoSeraphUserPropertyHelper

java.lang.Object
  extended by net.incongru.berkano.user.extensions.BerkanoSeraphUserPropertyHelper
All Implemented Interfaces:
UserPropertyHelper

public class BerkanoSeraphUserPropertyHelper
extends java.lang.Object
implements UserPropertyHelper

Helper to store / retrieve user properties of the currently logged in user, using berkano and seraph.

Version:
$Revision: 1.1 $
Author:
gjoseph, $Author: gj $ (last edit)

Constructor Summary
BerkanoSeraphUserPropertyHelper(UserPropertyAccessor userPropertyAccessor, UserDAO userDAO, com.atlassian.seraph.auth.AuthenticationContext authenticationContext)
           
 
Method Summary
 java.lang.Object getSingleValue(java.lang.String key)
           
 User getUser()
           
 java.lang.Object getUserOnlyValue(java.lang.String key)
           
 void store(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BerkanoSeraphUserPropertyHelper

public BerkanoSeraphUserPropertyHelper(UserPropertyAccessor userPropertyAccessor,
                                       UserDAO userDAO,
                                       com.atlassian.seraph.auth.AuthenticationContext authenticationContext)
Method Detail

store

public void store(java.lang.String key,
                  java.lang.Object value)
Specified by:
store in interface UserPropertyHelper

getUserOnlyValue

public java.lang.Object getUserOnlyValue(java.lang.String key)
Specified by:
getUserOnlyValue in interface UserPropertyHelper

getSingleValue

public java.lang.Object getSingleValue(java.lang.String key)
Specified by:
getSingleValue in interface UserPropertyHelper

getUser

public User getUser()
Specified by:
getUser in interface UserPropertyHelper


Copyright © 2004-2007. All Rights Reserved.