Package org.forgerock.macaroons
package org.forgerock.macaroons
Implementation of
Macaroons: Cookies with contextual caveats for decentralized
authorization in the cloud. See
Macaroon
for more details.-
ClassDescriptionGeneric interface for methods to verify that a caveat is satisfied.Convenience class for constructing a set of JSON-based 1st-party caveats for use with
Macaroon.addFirstPartyCaveat(JsonValue)
.Implements caveats that are structured as JSON objects.A macaroon is a cryptographically protected token which can be attenuated by appending caveats.Represents a caveat on a macaroon.Indicates that a macaroon is not well-formed according to aSerializationFormat
.A macaroon verifier is used to verify the caveats on aMacaroon
.Indicates whether a macaroon was successfully verified or not.Indicates that a macaroon has been rejected by aMacaroonVerifier
for a reason other than being invalid.Determines how to serialize and deserialize macaroons into a string format.