org.apache.cocoon.auth.portal
Class StandardPortalApplication
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.auth.StandardApplication
org.apache.cocoon.auth.portal.StandardPortalApplication
- All Implemented Interfaces:
- Disposable, Configurable, LogEnabled, Serviceable, ThreadSafe, Application, PortalApplication
public class StandardPortalApplication
- extends StandardApplication
- implements PortalApplication
This is a default implementation for a portal application.
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: StandardPortalApplication.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 |
portalConfig
protected Map portalConfig
- The configuration.
StandardPortalApplication
public StandardPortalApplication()
configure
public void configure(Configuration conf)
throws ConfigurationException
- Specified by:
configure in interface Configurable- Overrides:
configure in class StandardApplication
- Throws:
ConfigurationException- See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
getPortalConfiguration
public Map getPortalConfiguration()
- Description copied from interface:
PortalApplication
- Return the configuration for the portal.
- Specified by:
getPortalConfiguration in interface PortalApplication
- Returns:
- A map containing the different configuration values as defined
by the profile manager.
- See Also:
PortalApplication.getPortalConfiguration()
userDidLogin
public void userDidLogin(User user,
Map context)
- Description copied from interface:
Application
- Notify the application about a successful login of a user.
- Specified by:
userDidLogin in interface Application- Overrides:
userDidLogin in class StandardApplication
- Parameters:
user - The current user.context - The context for the login operation.- See Also:
Application.userDidLogin(org.apache.cocoon.auth.User, java.util.Map)
userWillLogout
public void userWillLogout(User user,
Map context)
- Description copied from interface:
Application
- Notify the application about a logout of a user.
- Specified by:
userWillLogout in interface Application- Overrides:
userWillLogout in class StandardApplication
- Parameters:
user - The current user.context - The context for the logout operation.- See Also:
Application.userWillLogout(org.apache.cocoon.auth.User, java.util.Map)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.