|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.saml2.metadata.provider.RequiredValidUntilFilter
public class RequiredValidUntilFilter
A metadata filter that requires the presence of a validUntil attribute on the root element of the
metadata document. It can optionally also enforce that the validity period (now minus validUntil date)
is not longer than a specified amount.
A maximum validity interval of less than 1 means the no restriction is placed on the metadata's
validUntil attribute.
| Constructor Summary | |
|---|---|
RequiredValidUntilFilter()
Constructor. |
|
RequiredValidUntilFilter(long maxValidityInterval)
Constructor. |
|
| Method Summary | |
|---|---|
void |
doFilter(org.opensaml.xml.XMLObject metadata)
Filters the given metadata, perhaps to remove elements that are not wanted. |
long |
getMaxValidityInterval()
Gets the maximum internal, in seconds, between now and the validUntil date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequiredValidUntilFilter()
public RequiredValidUntilFilter(long maxValidityInterval)
maxValidityInterval - maximum internal, in seconds, between now and the validUntil date| Method Detail |
|---|
public long getMaxValidityInterval()
validUntil date. A value of less than 1
indicates that there is no restriction.
validUntil date
public void doFilter(org.opensaml.xml.XMLObject metadata)
throws FilterException
doFilter in interface MetadataFiltermetadata - the metadata to be filtered.
FilterException - thrown if an error occurs during the filtering process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||