@Scope(value="prototype")
public abstract class AbstractCasProtocolValidationSpecification
extends java.lang.Object
implements org.apereo.cas.validation.ValidationSpecification
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractCasProtocolValidationSpecification()
Instantiates a new abstract cas protocol validation specification.
|
AbstractCasProtocolValidationSpecification(boolean renew)
Instantiates a new abstract cas protocol validation specification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRenew()
Method to determine if we require renew to be true.
|
boolean |
isSatisfiedBy(org.apereo.cas.validation.Assertion assertion,
javax.servlet.http.HttpServletRequest request) |
protected abstract boolean |
isSatisfiedByInternal(org.apereo.cas.validation.Assertion assertion)
Template method to allow for additional checks by subclassed methods
without needing to call super.isSatisfiedBy(...).
|
void |
setRenew(boolean renew)
Method to set the renew requirement.
|
public AbstractCasProtocolValidationSpecification()
public AbstractCasProtocolValidationSpecification(boolean renew)
renew - the renewpublic void setRenew(boolean renew)
renew - The renew value we want.public boolean isRenew()
public boolean isSatisfiedBy(org.apereo.cas.validation.Assertion assertion,
javax.servlet.http.HttpServletRequest request)
isSatisfiedBy in interface org.apereo.cas.validation.ValidationSpecificationprotected abstract boolean isSatisfiedByInternal(org.apereo.cas.validation.Assertion assertion)
assertion - the assertion