org.jasig.schedassist.impl.caldav
Class DefaultCredentialsProviderFactoryImpl
java.lang.Object
org.jasig.schedassist.impl.caldav.DefaultCredentialsProviderFactoryImpl
- All Implemented Interfaces:
- CredentialsProviderFactory
- Direct Known Subclasses:
- OracleCommsCredentialsProviderFactoryImpl
public class DefaultCredentialsProviderFactoryImpl
- extends Object
- implements CredentialsProviderFactory
Default CredentialsProviderFactory implementation, returns
DefaultCredentialsProviderImpl instances.
- Version:
- $Id: DefaultCredentialsProviderProviderImpl.java $
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCredentialsProviderFactoryImpl
public DefaultCredentialsProviderFactoryImpl()
setCaldavAdminUsername
public void setCaldavAdminUsername(String caldavAdminUsername)
- Parameters:
caldavAdminUsername - the caldavAdminUsername to set
setCaldavAdminPassword
public void setCaldavAdminPassword(String caldavAdminPassword)
- Parameters:
caldavAdminPassword - the caldavAdminPassword to set
getCaldavAdminUsername
protected String getCaldavAdminUsername()
- Returns:
- the caldavAdminUsername
getCaldavAdminPassword
protected String getCaldavAdminPassword()
- Returns:
- the caldavAdminPassword
getAuthScope
public org.apache.http.auth.AuthScope getAuthScope()
- Returns:
- the authScope
setAuthScope
public void setAuthScope(org.apache.http.auth.AuthScope authScope)
- Parameters:
authScope - the authScope to set
getAdminCredentials
protected org.apache.http.auth.Credentials getAdminCredentials()
- Returns:
- a
Credentials made up of getCaldavAdminUsername() and getCaldavAdminPassword().
getCredentialsProvider
public org.apache.http.client.CredentialsProvider getCredentialsProvider(ICalendarAccount account)
- Description copied from interface:
CredentialsProviderFactory
- Return a
CredentialsProvider that can be used when performing caldav operations against
the provided ICalendarAccount.
Implementations may not all use the ICalendarAccount; some return the same set of
credentials for all inputs.
- Specified by:
getCredentialsProvider in interface CredentialsProviderFactory
- Returns:
- a never null
CredentialsProvider that the data dao can use to interact with the CalDAV server
Copyright © 2012 Jasig. All Rights Reserved.