org.apache.cocoon.portal.profile.impl
Class AuthenticationFWUserInfoProvider

java.lang.Object
  extended by org.apache.cocoon.portal.profile.impl.AuthenticationFWUserInfoProvider
All Implemented Interfaces:
Serviceable, UserInfoProvider

public class AuthenticationFWUserInfoProvider
extends Object
implements UserInfoProvider, Serviceable

Get the information about the current user. This implementation uses the authentication-fw block

Version:
CVS $Id: AuthenticationFWUserInfoProvider.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Nested Class Summary
static class AuthenticationFWUserInfoProvider.AFWUserInfo
           
 
Field Summary
protected  ServiceManager manager
           
 
Constructor Summary
AuthenticationFWUserInfoProvider()
           
 
Method Summary
 UserInfo getUserInfo(String portalName, String layoutKey)
          Return the user info about the current user.
 void service(ServiceManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected ServiceManager manager
Constructor Detail

AuthenticationFWUserInfoProvider

public AuthenticationFWUserInfoProvider()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

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


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.