Schnittstelle BasicModelManager
- Alle Superschnittstellen:
ModelManager
,Serializable
Describes all the relationships between entities in the "Basic" model. This
model pretty much allows a user to be in multiple groups. There is no concept
of Permissions, Roles, Groups in Groups etc..
- Version:
- $Id$
- Autor:
- Eric Pugh
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.fulcrum.security.ModelManager
ROLE
-
Methodenübersicht
-
Methodendetails
-
grant
Puts a user in a group. This method is used when adding a user to a group- Parameter:
user
- the Usergroup
- the Group- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the account is not present.
-
revoke
Removes a user from a group- Parameter:
user
- the Usergroup
- the Group- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the user or group is not present.
-
revokeAll
Revokes all groups from an User. This method is used when deleting an account.- Parameter:
user
- the User.- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the account is not present.
-