org.jasig.cas.web.support
Class GoogleAccountsArgumentExtractor

java.lang.Object
  extended by org.jasig.cas.web.support.AbstractSingleSignOutEnabledArgumentExtractor
      extended by org.jasig.cas.web.support.GoogleAccountsArgumentExtractor
All Implemented Interfaces:
ArgumentExtractor

public final class GoogleAccountsArgumentExtractor
extends AbstractSingleSignOutEnabledArgumentExtractor

Constructs a GoogleAccounts compatible service and provides the public and private keys.

Since:
3.1
Version:
$Revision: 1.1 $ $Date: 2005/08/19 18:27:17 $
Author:
Scott Battaglia

Constructor Summary
GoogleAccountsArgumentExtractor()
           
 
Method Summary
 WebApplicationService extractServiceInternal(javax.servlet.http.HttpServletRequest request)
           
 void setAlternateUsername(java.lang.String alternateUsername)
          Sets an alternate username to send to Google (i.e.
 void setPrivateKey(java.security.PrivateKey privateKey)
           
 void setPublicKey(java.security.PublicKey publicKey)
           
 
Methods inherited from class org.jasig.cas.web.support.AbstractSingleSignOutEnabledArgumentExtractor
extractService, getHttpClientIfSingleSignOutEnabled, setDisableSingleSignOut, setHttpClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleAccountsArgumentExtractor

public GoogleAccountsArgumentExtractor()
Method Detail

extractServiceInternal

public WebApplicationService extractServiceInternal(javax.servlet.http.HttpServletRequest request)
Specified by:
extractServiceInternal in class AbstractSingleSignOutEnabledArgumentExtractor

setPrivateKey

public void setPrivateKey(java.security.PrivateKey privateKey)

setPublicKey

public void setPublicKey(java.security.PublicKey publicKey)

setAlternateUsername

public void setAlternateUsername(java.lang.String alternateUsername)
Sets an alternate username to send to Google (i.e. fully qualified email address). Relies on an appropriate attribute available for the user.

Note that this is optional and the default is to use the normal identifier.

Parameters:
alternateUsername - the alternate username. This is OPTIONAL.


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.