public final class SAML2Support extends Object
Modifier | Constructor and Description |
---|---|
private |
SAML2Support()
Private constructor to disallow instantiation.
|
Modifier and Type | Method and Description |
---|---|
static DateTime |
getEarliestExpiration(org.opensaml.core.xml.XMLObject xmlObject)
Gets the earliest expiration instant for a XMLObject.
|
static DateTime |
getEarliestExpiration(org.opensaml.core.xml.XMLObject xmlObject,
DateTime candidateTime,
DateTime now)
Gets the earliest expiration instant within a metadata tree.
|
static DateTime |
getEarliestExpirationFromCacheable(CacheableSAMLObject cacheableObject,
DateTime candidateTime,
DateTime now)
Gets the earliest effective expiration instant of the specified cacheable SAML object and the specified
candidate time.
|
static DateTime |
getEarliestExpirationFromTimeBound(TimeBoundSAMLObject timeBoundObject,
DateTime candidateTime)
Gets the earliest effective expiration instant of the specified time-bound SAML object and the specified
candidate time.
|
static boolean |
isValid(org.opensaml.core.xml.XMLObject xmlObject)
Checks to see if the given XMLObject is still valid.
|
private SAML2Support()
public static boolean isValid(org.opensaml.core.xml.XMLObject xmlObject)
TimeBoundSAMLObject
is valid.xmlObject
- the XML object tree to check@Nullable public static DateTime getEarliestExpiration(@Nullable org.opensaml.core.xml.XMLObject xmlObject)
TimeBoundSAMLObject
CacheableSAMLObject
added to the current timexmlObject
- the XML object tree from which to get the earliest expiration time@Nullable public static DateTime getEarliestExpiration(@Nullable org.opensaml.core.xml.XMLObject xmlObject, @Nullable DateTime candidateTime, @Nonnull DateTime now)
xmlObject
- the target XMLObject to evaluatecandidateTime
- the candidate earliest expiration instantnow
- when this method was called@Nullable public static DateTime getEarliestExpirationFromCacheable(@Nonnull CacheableSAMLObject cacheableObject, @Nullable DateTime candidateTime, @Nonnull DateTime now)
cacheableObject
- the target XMLObject to evaluatecandidateTime
- the candidate earliest expiration instantnow
- when this method was called@Nullable public static DateTime getEarliestExpirationFromTimeBound(@Nonnull TimeBoundSAMLObject timeBoundObject, @Nullable DateTime candidateTime)
timeBoundObject
- the target XMLObject to evaluatecandidateTime
- the earliest expiration instantCopyright © 1999–2015 JBoss by Red Hat. All rights reserved.