org.jasig.cas.services
Class RegisteredServiceImpl

java.lang.Object
  extended by org.jasig.cas.services.AbstractRegisteredService
      extended by org.jasig.cas.services.RegisteredServiceImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<RegisteredService>, RegisteredService

@Entity
public class RegisteredServiceImpl
extends AbstractRegisteredService

Mutable registered service that uses Ant path patterns for service matching.

Since:
3.1
Version:
$Revision$ $Date$
Author:
Scott Battaglia, Marvin S. Addison
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jasig.cas.services.AbstractRegisteredService
serviceId
 
Constructor Summary
RegisteredServiceImpl()
           
 
Method Summary
 boolean matches(Service service)
          Returns whether the service matches the registered service.
protected  AbstractRegisteredService newInstance()
           
 void setServiceId(String id)
           
 
Methods inherited from class org.jasig.cas.services.AbstractRegisteredService
clone, compareTo, copyFrom, equals, getAllowedAttributes, getDescription, getEvaluationOrder, getId, getName, getServiceId, getTheme, getUsernameAttribute, hashCode, isAllowedToProxy, isAnonymousAccess, isEnabled, isIgnoreAttributes, isSsoEnabled, setAllowedAttributes, setAllowedToProxy, setAnonymousAccess, setDescription, setEnabled, setEvaluationOrder, setId, setIgnoreAttributes, setName, setSsoEnabled, setTheme, setUsernameAttribute, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegisteredServiceImpl

public RegisteredServiceImpl()
Method Detail

setServiceId

public void setServiceId(String id)
Specified by:
setServiceId in class AbstractRegisteredService

matches

public boolean matches(Service service)
Description copied from interface: RegisteredService
Returns whether the service matches the registered service.

Note, as of 3.1.2, matches are case insensitive.

Parameters:
service - the service to match.
Returns:
true if they match, false otherwise.

newInstance

protected AbstractRegisteredService newInstance()
Specified by:
newInstance in class AbstractRegisteredService


Copyright © 2004-2013 Jasig. All Rights Reserved.