org.jasig.cas.services.web.support
Class RegisteredServiceValidator
java.lang.Object
org.jasig.cas.services.web.support.RegisteredServiceValidator
- All Implemented Interfaces:
- org.springframework.validation.Validator
public final class RegisteredServiceValidator
- extends Object
- implements org.springframework.validation.Validator
RegisteredServiceValidator ensures that a new RegisteredService does not have
a conflicting Service Id with another service already in the registry.
- Since:
- 3.1
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisteredServiceValidator
public RegisteredServiceValidator()
supports
public boolean supports(Class<?> clazz)
- Supports
RegisteredService objects.
- Specified by:
supports in interface org.springframework.validation.Validator
- See Also:
Validator.supports(java.lang.Class)
validate
public void validate(Object o,
org.springframework.validation.Errors errors)
- Specified by:
validate in interface org.springframework.validation.Validator
setServicesManager
public void setServicesManager(ServicesManager serviceRegistry)
setMaxDescriptionLength
public void setMaxDescriptionLength(int maxLength)
setPersonAttributeDao
public void setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personAttributeDao)
Copyright © 2004-2013 Jasig. All Rights Reserved.