org.jasig.cas.services
Class RegexRegisteredService

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

@Entity
public class RegexRegisteredService
extends AbstractRegisteredService

Mutable registered service that uses Java regular expressions for service matching.

Version:
$Revision: $
Author:
Marvin S. Addison
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jasig.cas.services.AbstractRegisteredService
serviceId
 
Constructor Summary
RegexRegisteredService()
           
 
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

RegexRegisteredService

public RegexRegisteredService()
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.