|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.BaseStage<ItemType>
net.shibboleth.metadata.pipeline.BaseIteratingStage<DomElementItem>
net.shibboleth.metadata.dom.saml.ValidateValidUntilStage
@ThreadSafe public class ValidateValidUntilStage
Checks that a SAML EntitiesDescriptor or EntityDescriptor's validUntil is (optionally) present and is within a given range. Items which are not a SAML EntitiesDescriptor or EntityDescriptor are ignored.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ValidateValidUntilStage()
|
|
| Method Summary | |
|---|---|
protected boolean |
doExecute(DomElementItem 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. |
| Methods inherited from class net.shibboleth.metadata.pipeline.BaseIteratingStage |
|---|
doExecute |
| Methods inherited from class net.shibboleth.metadata.pipeline.BaseStage |
|---|
execute, setId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent |
|---|
getId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent |
|---|
destroy, doDestroy, initialize, isDestroyed, isInitialized |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent |
|---|
destroy, isDestroyed |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiableComponent |
|---|
getId |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent |
|---|
initialize, isInitialized |
| Field Detail |
|---|
private boolean requireValidUntil
true
private long maxValidityInterval
| Constructor Detail |
|---|
public ValidateValidUntilStage()
| Method Detail |
|---|
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 0
protected boolean doExecute(@Nonnull
DomElementItem item)
throws StageProcessingException
doExecute in class BaseIteratingStage<DomElementItem>item - Item on which to operate
StageProcessingException - thrown if there is a problem with the stage processing
protected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||