Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Designing authorization rules within an Authorization OSID Provider can provide visibility in who has access to what and simplify base service implementations. Working from the authorization evaluation perspective can solve a difficult puzzle challenging for experienced architects. This is a case study of a project that tackles this issueproblem.

Table of Contents

The Student System Project

...

Better. However, the service architect feels she is kicking the can down the street. The can arrived at the Resource OSID.

 

...

Fun With Resources

A Resource is a generic dimension referenced throughout the OSIDs. In typical models, the entity that is managed is the same entity that is referenced for other purposes. For example, Starbucks has an inventory model for things it sells in its store. It manages coffee beans, city mugs, and muffins. Each of these items is managed to track unique information. Some of this information is expressed in the model such as the country or countries from which the coffee originates. 

Gliffy
size500
nameCoffee Example

A Customer may purchase any of these items. If an OrderItem directly references each of these items, its structure is dependent on what is going on in the inventory service. When Starbucks begins to sell tasty pastries, the OrderItem must be taught how to deal with them. These interfaces are coupled.

To decouple the services, the OrderItem must reference something that doesn't vary with the inventory. This is a good use of Resources.

 

Gliffy
size500
nameCoffee Example With Resource