org.jasig.cas.authentication.principal
Class SimpleWebApplicationServiceImpl

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

public final class SimpleWebApplicationServiceImpl
extends AbstractWebApplicationService

Represents a service which wishes to use the CAS protocol.

Since:
3.1
Version:
$Revision: 1.3 $ $Date: 2007/04/24 18:19:22 $
Author:
Scott Battaglia
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.principal.AbstractWebApplicationService
LOG
 
Constructor Summary
SimpleWebApplicationServiceImpl(java.lang.String id)
           
SimpleWebApplicationServiceImpl(java.lang.String id, HttpClient httpClient)
           
 
Method Summary
static SimpleWebApplicationServiceImpl createServiceFrom(javax.servlet.http.HttpServletRequest request)
           
static SimpleWebApplicationServiceImpl createServiceFrom(javax.servlet.http.HttpServletRequest request, HttpClient httpClient)
           
 Response getResponse(java.lang.String ticketId)
          Constructs the url to redirect the service back to.
 
Methods inherited from class org.jasig.cas.authentication.principal.AbstractWebApplicationService
cleanupUrl, equals, getArtifactId, getAttributes, getId, getOriginalUrl, getPrincipal, hashCode, logOutOfService, matches, setPrincipal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleWebApplicationServiceImpl

public SimpleWebApplicationServiceImpl(java.lang.String id)

SimpleWebApplicationServiceImpl

public SimpleWebApplicationServiceImpl(java.lang.String id,
                                       HttpClient httpClient)
Method Detail

createServiceFrom

public static SimpleWebApplicationServiceImpl createServiceFrom(javax.servlet.http.HttpServletRequest request)

createServiceFrom

public static SimpleWebApplicationServiceImpl createServiceFrom(javax.servlet.http.HttpServletRequest request,
                                                                HttpClient httpClient)

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.


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