public class SAML2Helper extends Object
| Constructor and Description |
|---|
SAML2Helper() |
| Modifier and Type | Method and Description |
|---|---|
static org.joda.time.DateTime |
getEarliestExpiration(org.opensaml.xml.XMLObject xmlObject)
Gets the earliest expiration instant for a XMLObject.
|
static org.joda.time.DateTime |
getEarliestExpiration(org.opensaml.xml.XMLObject xmlObject,
org.joda.time.DateTime earliestExpiration,
org.joda.time.DateTime now)
Gets the earliest expiration instant within a metadata tree.
|
static boolean |
isValid(org.opensaml.xml.XMLObject xmlObject)
Checks to see if the given XMLObject is still valid.
|
public static boolean isValid(org.opensaml.xml.XMLObject xmlObject)
TimeBoundSAMLObject is valid.xmlObject - the XML object tree to checkpublic static org.joda.time.DateTime getEarliestExpiration(org.opensaml.xml.XMLObject xmlObject)
TimeBoundSAMLObjectCacheableSAMLObject added to the current timexmlObject - the XML object tree to get the earliest expiration time frompublic static org.joda.time.DateTime getEarliestExpiration(org.opensaml.xml.XMLObject xmlObject,
org.joda.time.DateTime earliestExpiration,
org.joda.time.DateTime now)
xmlObject - the metadataearliestExpiration - the earliest expiration instantnow - when this method was calledCopyright © 1999–2015. All rights reserved.