@ThreadSafe public class ValidateValidUntilStage extends BaseIteratingStage<Element>
| Modifier and Type | Field and Description |
|---|---|
private long |
maxValidityInterval
Interval, in milliseconds, from now within which the validUntil date must fall.
|
private boolean |
requireValidUntil
Whether the item is required to have a validUntil attribute.
|
| Constructor and Description |
|---|
ValidateValidUntilStage() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doExecute(Item<Element> item)
Processes a given Item.
|
protected void |
doInitialize() |
long |
getMaxValidityInterval()
Gets the interval, in milliseconds, from now within which the validUntil date must fall.
|
boolean |
isRequireValidUntil()
Gets whether the item is required to have a validUntil attribute.
|
void |
setMaxValidityInterval(long interval)
Sets the interval, in milliseconds, from now within which the validUntil date must fall.
|
void |
setRequireValidUntil(boolean isRequired)
Sets whether the item is required to have a validUntil attribute.
|
doExecuteexecute, getCollectionPredicate, setCollectionPredicatesetIdgetIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate boolean requireValidUntil
trueprivate long maxValidityInterval
public boolean isRequireValidUntil()
public void setRequireValidUntil(boolean isRequired)
isRequired - whether the item is required to have a validUntil attributepublic long getMaxValidityInterval()
public void setMaxValidityInterval(long interval)
interval - interval, in milliseconds, from now within which the validUntil date must fall; must be greater
than or equal to 0protected boolean doExecute(@Nonnull Item<Element> item) throws StageProcessingException
doExecute in class BaseIteratingStage<Element>item - Item on which to operateStageProcessingException - thrown if there is a problem with the stage processingprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2016. All rights reserved.