org.jasig.portal.channels
Class CLogin

java.lang.Object
  extended by org.jasig.portal.channels.CLogin
All Implemented Interfaces:
ICacheable, IChannel, IPrivileged, IPrivilegedChannel

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CLogin
extends Object
implements IPrivilegedChannel, ICacheable

Allows a user to login to the portal. Login info is posted to LoginServlet. If user enters incorrect username and password, he/she is instructed to login again with a different password (the username of the previous attempt is preserved).

Version:
$Revision: 19776 $
Author:
Ken Weiner, kweiner@unicon.net

Field Summary
 
Fields inherited from interface org.jasig.portal.ICacheable
CHANNEL_CACHE_KEY_INSTANCE_SCOPE, CHANNEL_CACHE_KEY_SCOPE_PARAM_NAME, CHANNEL_CACHE_KEY_SYSTEM_SCOPE
 
Constructor Summary
CLogin()
          Deprecated.  
 
Method Summary
 ChannelCacheKey generateKey()
          Deprecated. Requests the channel to generate a key uniquely describing its current state, and a description of key usage.
 ChannelRuntimeProperties getRuntimeProperties()
          Deprecated. Acquires ChannelRuntimeProperites from the channel.
 boolean isCacheValid(Object validity)
          Deprecated. Requests the channel to verify validity of the retrieved cache based on the validator object.
 void receiveEvent(PortalEvent ev)
          Deprecated. Passes an outside event to a channel.
 void renderXML(ContentHandler out)
          Deprecated. Ask channel to render its content.
 void setPortalControlStructures(PortalControlStructures pcs)
          Deprecated. Passes portal control structure to the channel.
 void setRuntimeData(ChannelRuntimeData rd)
          Deprecated. Passes ChannelRuntimeData to the channel.
 void setStaticData(ChannelStaticData sd)
          Deprecated. Passes ChannelStaticData to the channel.
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CLogin

public CLogin()
Deprecated. 
Method Detail

setPortalControlStructures

public void setPortalControlStructures(PortalControlStructures pcs)
Deprecated. 
Description copied from interface: IPrivileged
Passes portal control structure to the channel.

Specified by:
setPortalControlStructures in interface IPrivileged
See Also:
PortalControlStructures

getRuntimeProperties

public ChannelRuntimeProperties getRuntimeProperties()
Deprecated. 
Description copied from interface: IChannel
Acquires ChannelRuntimeProperites from the channel. This function may be called by the portal framework throughout the session.

Specified by:
getRuntimeProperties in interface IChannel
See Also:
ChannelRuntimeProperties

receiveEvent

public void receiveEvent(PortalEvent ev)
Deprecated. 
Description copied from interface: IChannel
Passes an outside event to a channel. Events should normally come from the LayoutBean.

Specified by:
receiveEvent in interface IChannel
Parameters:
ev - PortalEvent object
See Also:
PortalEvent

setStaticData

public void setStaticData(ChannelStaticData sd)
Deprecated. 
Description copied from interface: IChannel
Passes ChannelStaticData to the channel. This is done during channel instantiation time. see org.jasig.portal.ChannelStaticData

Specified by:
setStaticData in interface IChannel
Parameters:
sd - channel static data
See Also:
ChannelStaticData

setRuntimeData

public void setRuntimeData(ChannelRuntimeData rd)
Deprecated. 
Description copied from interface: IChannel
Passes ChannelRuntimeData to the channel. This function is called prior to the renderXML() call.

Specified by:
setRuntimeData in interface IChannel
Parameters:
rd - channel runtime data
See Also:
ChannelRuntimeData

renderXML

public void renderXML(ContentHandler out)
               throws PortalException
Deprecated. 
Description copied from interface: IChannel
Ask channel to render its content.

Specified by:
renderXML in interface IChannel
Parameters:
out - the SAX ContentHandler to output content to
Throws:
PortalException

generateKey

public ChannelCacheKey generateKey()
Deprecated. 
Description copied from interface: ICacheable
Requests the channel to generate a key uniquely describing its current state, and a description of key usage.

Specified by:
generateKey in interface ICacheable

isCacheValid

public boolean isCacheValid(Object validity)
Deprecated. 
Description copied from interface: ICacheable
Requests the channel to verify validity of the retrieved cache based on the validator object.

Specified by:
isCacheValid in interface ICacheable

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


Copyright © 2010 Jasig. All Rights Reserved.