org.jasig.schedassist.impl.caldav
Class DefaultCredentialsProviderImpl
java.lang.Object
org.jasig.schedassist.impl.caldav.DefaultCredentialsProviderImpl
- All Implemented Interfaces:
- org.apache.http.client.CredentialsProvider
- Direct Known Subclasses:
- OracleCommsCredentialsProviderImpl
public class DefaultCredentialsProviderImpl
- extends Object
- implements org.apache.http.client.CredentialsProvider
This CredentialsProvider implementation will return the
supplied-at-construction-time Credentials if and only if
the request matches the configured AuthScope.
- Version:
- $Id: DefaultCredentialsProviderImpl.java $
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCredentialsProviderImpl
public DefaultCredentialsProviderImpl(org.apache.http.auth.Credentials adminCredentials,
org.apache.http.auth.AuthScope targetAuthScope)
- Parameters:
adminCredentials - targetAuthScope -
getAdminCredentials
public org.apache.http.auth.Credentials getAdminCredentials()
- Returns:
- the adminCredentials
getTargetAuthScope
public org.apache.http.auth.AuthScope getTargetAuthScope()
- Returns:
- the targetAuthScope
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 arg0,
org.apache.http.auth.Credentials arg1)
- Specified by:
setCredentials in interface org.apache.http.client.CredentialsProvider
Copyright © 2012 Jasig. All Rights Reserved.