Package org.forgerock.openam.services.push.dispatch
Classes pertaining to the delivery of messages between a PushNotificationDelegate's response service and
a generic location in OpenAM.
-
Interface Summary Interface Description Predicate An interface for a basic, stand-alone predicate. -
Class Summary Class Description AbstractPredicate An abstract implementation of the predicate, holding a reference to the class used for serialization.MessageDispatcher The MessageDispatcher acts to forward messages between disparate locations in OpenAM via a unique identifier and an aysnc interface.MessageDispatcherFactory Generates message dispatchers.MessagePromise A MessagePromise is an encapsulation of a promise and a set of predicates that must be (successfully) applied to the contents of any supposed response to this message from an external source.PushMessageChallengeResponsePredicate Checks that the response to a message is appropriate for the user from whom it claims to be sent, by asserting that the contents is the correct response to the challenge (HmacSHA-256 encoded version of the challenge sent out).SignedJwtVerificationPredicate Checks that the response to a message is appropriate for the user from whom it claims to be sent, by validating that the JWT sent in is signed by the appropriate user (their shared secret is retrieved from the user store). -
Exception Summary Exception Description PredicateNotMetException An exception indicating that a predicate has not been met en route through the message dispatch system.