org.jasig.cas.authentication.principal
Class GoogleAccountsService

java.lang.Object
  extended by org.jasig.cas.authentication.principal.AbstractWebApplicationService
      extended by org.jasig.cas.authentication.principal.GoogleAccountsService
All Implemented Interfaces:
java.io.Serializable, Principal, Service, WebApplicationService

public class GoogleAccountsService
extends AbstractWebApplicationService

Implementation of a Service that supports Google Accounts (eventually a more generic SAML2 support will come).

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

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.principal.AbstractWebApplicationService
LOG
 
Constructor Summary
protected GoogleAccountsService(java.lang.String id, java.lang.String relayState, java.lang.String requestId, java.security.PrivateKey privateKey, java.security.PublicKey publicKey, java.lang.String alternateUserName)
           
protected GoogleAccountsService(java.lang.String id, java.lang.String originalUrl, java.lang.String artifactId, java.lang.String relayState, java.lang.String requestId, java.security.PrivateKey privateKey, java.security.PublicKey publicKey, java.lang.String alternateUserName)
           
 
Method Summary
static GoogleAccountsService createServiceFrom(javax.servlet.http.HttpServletRequest request, java.security.PrivateKey privateKey, java.security.PublicKey publicKey, java.lang.String alternateUserName)
           
 Response getResponse(java.lang.String ticketId)
          Constructs the url to redirect the service back to.
 boolean logOutOfService(java.lang.String sessionIdentifier)
          Service does not support Single Log Out
 
Methods inherited from class org.jasig.cas.authentication.principal.AbstractWebApplicationService
cleanupUrl, equals, getArtifactId, getAttributes, getId, getOriginalUrl, getPrincipal, hashCode, matches, setPrincipal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoogleAccountsService

protected GoogleAccountsService(java.lang.String id,
                                java.lang.String relayState,
                                java.lang.String requestId,
                                java.security.PrivateKey privateKey,
                                java.security.PublicKey publicKey,
                                java.lang.String alternateUserName)

GoogleAccountsService

protected GoogleAccountsService(java.lang.String id,
                                java.lang.String originalUrl,
                                java.lang.String artifactId,
                                java.lang.String relayState,
                                java.lang.String requestId,
                                java.security.PrivateKey privateKey,
                                java.security.PublicKey publicKey,
                                java.lang.String alternateUserName)
Method Detail

createServiceFrom

public static GoogleAccountsService createServiceFrom(javax.servlet.http.HttpServletRequest request,
                                                      java.security.PrivateKey privateKey,
                                                      java.security.PublicKey publicKey,
                                                      java.lang.String alternateUserName)

getResponse

public Response getResponse(java.lang.String ticketId)
Description copied from interface: WebApplicationService
Constructs the url to redirect the service back to.

Parameters:
ticketId - the service ticket to provide to the service.
Returns:
the redirect url.

logOutOfService

public boolean logOutOfService(java.lang.String sessionIdentifier)
Service does not support Single Log Out

Specified by:
logOutOfService in interface Service
Overrides:
logOutOfService in class AbstractWebApplicationService
See Also:
Service.logOutOfService(java.lang.String)


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