org.jasig.cas.authentication.principal
Class AbstractWebApplicationService
java.lang.Object
org.jasig.cas.authentication.principal.AbstractWebApplicationService
- All Implemented Interfaces:
- java.io.Serializable, Principal, Service, WebApplicationService
- Direct Known Subclasses:
- GoogleAccountsService, SamlService, SimpleWebApplicationServiceImpl
public abstract class AbstractWebApplicationService
- extends java.lang.Object
- implements WebApplicationService
Abstract implementation of a WebApplicationService.
- Since:
- 3.1
- Version:
- $Revision: 1.3 $ $Date: 2007/04/19 20:13:01 $
- Author:
- Scott Battaglia
- See Also:
- Serialized Form
|
Field Summary |
protected static org.slf4j.Logger |
LOG
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LOG
protected static final org.slf4j.Logger LOG
AbstractWebApplicationService
protected AbstractWebApplicationService(java.lang.String id,
java.lang.String originalUrl,
java.lang.String artifactId,
HttpClient httpClient)
toString
public final java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getId
public final java.lang.String getId()
- Description copied from interface:
Principal
- Returns the unique id for the Principal
- Specified by:
getId in interface Principal
- Returns:
- the unique id for the Principal.
getArtifactId
public final java.lang.String getArtifactId()
- Description copied from interface:
WebApplicationService
- Retrieves the artifact supplied with the service. May be null.
- Specified by:
getArtifactId in interface WebApplicationService
- Returns:
- the artifact if it exists, null otherwise.
getAttributes
public final java.util.Map<java.lang.String,java.lang.Object> getAttributes()
- Specified by:
getAttributes in interface Principal
- Returns:
cleanupUrl
protected static java.lang.String cleanupUrl(java.lang.String url)
getOriginalUrl
protected final java.lang.String getOriginalUrl()
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getPrincipal
protected Principal getPrincipal()
setPrincipal
public void setPrincipal(Principal principal)
- Specified by:
setPrincipal in interface Service
matches
public boolean matches(Service service)
- Specified by:
matches in interface Service
logOutOfService
public boolean logOutOfService(java.lang.String sessionIdentifier)
- Specified by:
logOutOfService in interface Service
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.