pt.digitalis.dif.controller.security.managers
Interface IIdentityManagerPrivate

All Superinterfaces:
IIdentityManager
All Known Implementing Classes:
AbstractIdentityManager, IdentityManagerStaticImpl

public interface IIdentityManagerPrivate
extends IIdentityManager

Defines the expected behavior for an identity manager. This manager supports users IDIFUser and groups IDIFGroup.

Author:
Rodrigo Gon�alves rgoncalves@digitalis.pt
, Luis Pinto lpinto@digitalis.pt
, Pedro Viegas pviegas@digitalis.pt
, Fábio Souto fsouto@digitalis.pt
Created on:
2007/12/04

Method Summary
 void persistUserAttribute(String userID, String attributeID, Object attributeValue)
          Persists an attribute value on a given user on the underlying repository.
 void persistUserAttributes(String userID, Map<String,Object> attributes)
          Persists all attributes values on a given user on the underlying repository.
 
Methods inherited from interface pt.digitalis.dif.controller.security.managers.IIdentityManager
addGroup, addManagedAttribute, addManagedAttributes, addUser, addUserToGroup, changePassword, containsUserParameter, countAllGroups, countAllGroupsOfUser, countAllGroupsOfUser, countAllUsers, countAllUsers, countUsers, gatherManagedAttributes, getAllGroups, getAllUsers, getExclusionCharaters, getGroup, getGroupAttributeName, getGroupGroups, getGroups, getGroupUsers, getMailAttributeName, getManagedAttributes, getNameAttributeName, getUser, getUserGroups, getUserGroups, getUserGroupsIDs, getUserGroupsIDs, getUserGroupsPagination, getUserIDsInGroup, getUserLoginAttributeName, getUserParameter, getUserParameters, getUserParentGroupAttributeName, getUsers, getUsersByAttribute, getUsersByAttributes, getUsersByAttributes, getUsersByEmail, groupExists, isIdentityValid, isReadOnly, isUserInGroup, isUserInGroup, removeGroup, removeUser, removeUserFromGroup, removeUserParameter, resetIdentityManager, setUserParameter, setUserParameters, updateGroup, updateUser, updateUserAttribute, updateUserAttributes, userExists
 

Method Detail

persistUserAttribute

void persistUserAttribute(String userID,
                          String attributeID,
                          Object attributeValue)
                          throws IdentityManagerException
Persists an attribute value on a given user on the underlying repository.

Parameters:
userID - the ID of the user to update
attributeID - the ID of the attribute to update
attributeValue - the value of the attribute to update
Throws:
IdentityManagerException - if the attribute can't be updated

persistUserAttributes

void persistUserAttributes(String userID,
                           Map<String,Object> attributes)
                           throws IdentityManagerException
Persists all attributes values on a given user on the underlying repository.

Parameters:
userID - the ID of the user to update
attributes - the attributes to update
Throws:
IdentityManagerException - if the attribute can't be updated


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.