Versions Compared

Key

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

...

Instead of relying on ORM supported role methods in the user object, Roller front-end code should call the user managerRoller UserManager:

UserManager interface methods

...

And instead of calling role-related methods on the user object, Roller code should use either request.isUserInRole() or the isUserInRole() method provided by the UserManager.

Our UserManager implemenation will in turn call the User Repository API. To allow us to plugin alternate user management systems Roller's default UserManager implementation will call a User Repository API interface to store and retrieve permissions:

User Respository API, part 2/3

...