|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.validation.AbstractCasProtocolValidationSpecification
public abstract class AbstractCasProtocolValidationSpecification
Base validation specification for the CAS protocol. This specification checks for the presence of renew=true and if requested, succeeds only if ticket validation is occurring from a new login.
| Constructor Summary | |
|---|---|
AbstractCasProtocolValidationSpecification()
|
|
AbstractCasProtocolValidationSpecification(boolean renew)
|
|
| Method Summary | |
|---|---|
boolean |
isRenew()
Method to determine if we require renew to be true. |
boolean |
isSatisfiedBy(Assertion assertion)
|
protected abstract boolean |
isSatisfiedByInternal(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCasProtocolValidationSpecification()
public AbstractCasProtocolValidationSpecification(boolean renew)
| Method Detail |
|---|
public final void setRenew(boolean renew)
renew - The renew value we want.public final boolean isRenew()
public final boolean isSatisfiedBy(Assertion assertion)
isSatisfiedBy in interface ValidationSpecificationassertion - The assertion we want to confirm is satisfied by this
spec.
protected abstract boolean isSatisfiedByInternal(Assertion assertion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||