org.jasig.cas.authentication.principal
Interface WebApplicationService

All Superinterfaces:
Principal, java.io.Serializable, Service
All Known Implementing Classes:
AbstractWebApplicationService, GoogleAccountsService, SamlService, SimpleWebApplicationServiceImpl

public interface WebApplicationService
extends Service

Represents a service using CAS that comes from the web.

Since:
3.1
Version:
$Revision: 1.3 $ $Date: 2007/02/27 19:31:58 $
Author:
Scott Battaglia

Method Summary
 java.lang.String getArtifactId()
          Retrieves the artifact supplied with the service.
 Response getResponse(java.lang.String ticketId)
          Constructs the url to redirect the service back to.
 
Methods inherited from interface org.jasig.cas.authentication.principal.Service
logOutOfService, matches, setPrincipal
 
Methods inherited from interface org.jasig.cas.authentication.principal.Principal
getAttributes, getId
 

Method Detail

getResponse

Response getResponse(java.lang.String ticketId)
Constructs the url to redirect the service back to.

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

getArtifactId

java.lang.String getArtifactId()
Retrieves the artifact supplied with the service. May be null.

Returns:
the artifact if it exists, null otherwise.


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