Interface BaseSAMLMessageParser.ConditionLookup
-
- All Known Implementing Classes:
BaseSAMLMessageParser.SimpleConditionLookup
- Enclosing class:
- BaseSAMLMessageParser
public static interface BaseSAMLMessageParser.ConditionLookupClass used to verify certain conditions such as OneTime
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longacceptedClockSkew()Method that should return the acceptable clock skew in milliseconds when checking the not before and not after conditionsjava.lang.StringgetThisAudienceId()Method to get this systems audience id, that should be matched against available audience conditions.booleanusedBefore(java.lang.String messageId)Method to check if a given assertionId have been used before, used for verifying the OneTime condition.
-
-
-
Method Detail
-
usedBefore
boolean usedBefore(java.lang.String messageId) throws MessageContentException, MessageProcessingExceptionMethod to check if a given assertionId have been used before, used for verifying the OneTime condition.- Parameters:
messageId- the assertion ID to lookup- Returns:
- true if this ID has been used before.
- Throws:
MessageContentException- if this system doesn't support the OneTime condition.MessageProcessingException- if internal problems occurred.
-
getThisAudienceId
java.lang.String getThisAudienceId() throws MessageContentException, MessageProcessingExceptionMethod to get this systems audience id, that should be matched against available audience conditions.- Returns:
- this systems audience id, that should be matched against available audience conditions.
- Throws:
MessageContentException- if this system doesn't support the audience restriction condition.MessageContentException- if this system doesn't support the Audience condition.MessageProcessingException- if internal problems occurred.
-
acceptedClockSkew
long acceptedClockSkew() throws MessageProcessingExceptionMethod that should return the acceptable clock skew in milliseconds when checking the not before and not after conditions- Returns:
- the accepted clock skew in milliseconds
- Throws:
MessageProcessingException- if internal problems occurred.
-
-