RoleMapperAdmin class

Allows role mappings to be managed programmtically.

Syntax

public class RoleMapperAdmin

Derived classes

Remarks

Instances of this class may be retrieved in one of two ways:
  1. Using the no-argument constructor, an "empty" container will be created on which you may call loadFromXML(Reader) and toXML(Writer). Changes made to objects retrieved in this manner will not affect any other resources indirectly.
  2. By calling SecAdminContext.getRoleMapperAdmin(), one may retrieve an instance of this class associated with the active role mapping file. The container will be prepopulated with the existing mappings from the file. Changes made to this object will not affect the underlying role mappings until the activate() method is called.