org.jasig.schedassist.impl.caldav.oracle
Class OracleCommsCredentialsProviderImpl

java.lang.Object
  extended by org.jasig.schedassist.impl.caldav.DefaultCredentialsProviderImpl
      extended by org.jasig.schedassist.impl.caldav.oracle.OracleCommsCredentialsProviderImpl
All Implemented Interfaces:
org.apache.http.client.CredentialsProvider

public class OracleCommsCredentialsProviderImpl
extends DefaultCredentialsProviderImpl

If the default CredentialsProvider implementation is used against an Oracle Communications Suite CalDAV server, the server will automatically add a SENT-BY parameter with a value of #getCaldavAdminUsername() on the ORGANIZER property for events created by the Scheduling Assistant. This class provides Oracle Communications Suite "proxy authentication" credentials, the difference being in the username, which is constructed from the username in DefaultCredentialsProviderImpl.getAdminCredentials(), a semi-colon, and finally the Schedule Owner's email address. When used in place of the super class with Oracle Communications Suite, no SENT-BY parameter is added to the ORGANIZER.

Version:
$Id: OracleCommsCredentialsProviderImpl.java $
Author:
Nicholas Blair

Constructor Summary
OracleCommsCredentialsProviderImpl(ICalendarAccount accountToProxy, org.apache.http.auth.Credentials adminCredentials, org.apache.http.auth.AuthScope targetAuthScope)
           
 
Method Summary
 org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
           
 
Methods inherited from class org.jasig.schedassist.impl.caldav.DefaultCredentialsProviderImpl
clear, getAdminCredentials, getTargetAuthScope, setCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleCommsCredentialsProviderImpl

public OracleCommsCredentialsProviderImpl(ICalendarAccount accountToProxy,
                                          org.apache.http.auth.Credentials adminCredentials,
                                          org.apache.http.auth.AuthScope targetAuthScope)
Parameters:
accountToProxy -
adminCredentials -
targetAuthScope -
Method Detail

getCredentials

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


Copyright © 2012 Jasig. All Rights Reserved.