org.jasig.portlet.calendar.adapter.exchange
Class ExchangeCredentialsInitializationService

java.lang.Object
  extended by org.jasig.portlet.calendar.adapter.exchange.ExchangeCredentialsInitializationService
All Implemented Interfaces:
IInitializationService

public class ExchangeCredentialsInitializationService
extends Object
implements IInitializationService

ExchangeCredentialsInitializationService creates a Credentials object from the user's login id and cached password and saves it to a ThreadLocal for later use.

Version:
$Revision$
Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
ExchangeCredentialsInitializationService()
           
 
Method Summary
 void initialize(javax.portlet.PortletRequest request)
          Perform some action.
 void setPasswordAttribute(String passwordAttribute)
          Set the name of the user attribute to be used for retrieving the Exchange authentication password from the portlet UserInfo map.
 void setUsernameAttribute(String usernameAttribute)
          Set the naem of the user attribute to be used for retrieving the Exchange authentication username from the portlet UserInfo map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExchangeCredentialsInitializationService

public ExchangeCredentialsInitializationService()
Method Detail

setUsernameAttribute

public void setUsernameAttribute(String usernameAttribute)
Set the naem of the user attribute to be used for retrieving the Exchange authentication username from the portlet UserInfo map.

Parameters:
usernameAttribute -

setPasswordAttribute

public void setPasswordAttribute(String passwordAttribute)
Set the name of the user attribute to be used for retrieving the Exchange authentication password from the portlet UserInfo map.

Parameters:
passwordAttribute -

initialize

public void initialize(javax.portlet.PortletRequest request)
Description copied from interface: IInitializationService
Perform some action.

Specified by:
initialize in interface IInitializationService
Parameters:
request - user's portlet request


Copyright © 2012 Jasig. All Rights Reserved.