This project has retired. For details please refer to its
Attic page .
UserInfoProviderImpl (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.auth.portal
Class UserInfoProviderImpl
java.lang.Object
org.apache.cocoon.auth.portal.UserInfoProviderImpl
All Implemented Interfaces: Contextualizable , UserInfoProvider
public class UserInfoProviderImpl extends Object implements UserInfoProvider , Contextualizable
Get the information about the current user.
This implementation uses CAuth.
Note: This class belongs to cauth but has to be defined in the portal block for now.
This will be cleaned up with Cocoon 2.2.
Version:
$Id: UserInfoProviderImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
context
protected Context context
The component context.
UserInfoProviderImpl
public UserInfoProviderImpl ()
contextualize
public void contextualize (Context aContext)
throws ContextException
Specified by: contextualize
in interface Contextualizable
Throws:
ContextException
See Also: Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
getUserInfo
public UserInfo getUserInfo (String portalName,
String layoutKey)
throws Exception
Description copied from interface: UserInfoProvider
Return the user info about the current user.
Specified by: getUserInfo
in interface UserInfoProvider
Throws:
Exception
See Also: UserInfoProvider.getUserInfo(java.lang.String, java.lang.String)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.