org.jasig.portlet.calendar.credentials
Class SharedSecretCredentialsExtractorImpl

java.lang.Object
  extended by org.jasig.portlet.calendar.credentials.SharedSecretCredentialsExtractorImpl
All Implemented Interfaces:
ICredentialsExtractor

public class SharedSecretCredentialsExtractorImpl
extends Object
implements ICredentialsExtractor

This ICredentialsExtractor implementation allows deployers to specify a "shared" set of credentials that are used for ALL requests.

Version:
$Header: SharedSecretCredentialsExtractorImpl.java Exp $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
SharedSecretCredentialsExtractorImpl(String password, String username)
           
 
Method Summary
 org.apache.commons.httpclient.Credentials getCredentials(javax.portlet.PortletRequest request)
          Implementations may return null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedSecretCredentialsExtractorImpl

public SharedSecretCredentialsExtractorImpl(String password,
                                            String username)
Parameters:
password -
username -
Method Detail

getCredentials

public org.apache.commons.httpclient.Credentials getCredentials(javax.portlet.PortletRequest request)
Description copied from interface: ICredentialsExtractor
Implementations may return null.

Specified by:
getCredentials in interface ICredentialsExtractor
Returns:
the corresponding Credentials, or null


Copyright © 2012 Jasig. All Rights Reserved.