org.jasig.portlet.emailpreview.dao.exchange
Class ExchangeWsCredentialsProvider

java.lang.Object
  extended by org.jasig.portlet.emailpreview.dao.exchange.ExchangeWsCredentialsProvider
All Implemented Interfaces:
org.apache.http.client.CredentialsProvider, IExchangeCredentialsService

@Component
public class ExchangeWsCredentialsProvider
extends Object
implements org.apache.http.client.CredentialsProvider, IExchangeCredentialsService


Field Summary
protected static String EXCHANGE_CREDENTIALS_ATTRIBUTE
           
 
Constructor Summary
ExchangeWsCredentialsProvider()
           
 
Method Summary
 void clear()
           
 org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
           
 String getUsername()
           
 void initialize(javax.portlet.PortletRequest request, MailStoreConfiguration config, IAuthenticationService authService)
           
 void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCHANGE_CREDENTIALS_ATTRIBUTE

protected static final String EXCHANGE_CREDENTIALS_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

ExchangeWsCredentialsProvider

public ExchangeWsCredentialsProvider()
Method Detail

clear

public void clear()
Specified by:
clear in interface org.apache.http.client.CredentialsProvider

getCredentials

public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
Specified by:
getCredentials in interface org.apache.http.client.CredentialsProvider

setCredentials

public void setCredentials(org.apache.http.auth.AuthScope authscope,
                           org.apache.http.auth.Credentials credentials)
Specified by:
setCredentials in interface org.apache.http.client.CredentialsProvider

initialize

public void initialize(javax.portlet.PortletRequest request,
                       MailStoreConfiguration config,
                       IAuthenticationService authService)
Specified by:
initialize in interface IExchangeCredentialsService

getUsername

public String getUsername()
Specified by:
getUsername in interface IExchangeCredentialsService


Copyright © 2013 Jasig. All Rights Reserved.