public class SAML2Helper extends Object
| コンストラクタと説明 |
|---|
SAML2Helper() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static org.joda.time.DateTime |
getEarliestExpiration(XMLObject xmlObject)
Gets the earliest expiration instant for a XMLObject.
|
static org.joda.time.DateTime |
getEarliestExpiration(XMLObject xmlObject,
org.joda.time.DateTime earliestExpiration,
org.joda.time.DateTime now)
Gets the earliest expiration instant within a metadata tree.
|
static boolean |
isValid(XMLObject xmlObject)
Checks to see if the given XMLObject is still valid.
|
public static boolean isValid(XMLObject xmlObject)
TimeBoundSAMLObject is valid.xmlObject - the XML object tree to checkpublic static org.joda.time.DateTime getEarliestExpiration(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(XMLObject xmlObject, org.joda.time.DateTime earliestExpiration, org.joda.time.DateTime now)
xmlObject - the metadataearliestExpiration - the earliest expiration instantnow - when this method was calledCopyright © 2012. All Rights Reserved.