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