Uses of Interface
pt.digitalis.dif.controller.security.objects.IDIFUser

Packages that use IDIFUser
pt.digitalis.dif.controller.objects   
pt.digitalis.dif.controller.security.managers   
pt.digitalis.dif.controller.security.managers.impl   
pt.digitalis.dif.controller.security.objects   
pt.digitalis.dif.utils.extensions.cms   
 

Uses of IDIFUser in pt.digitalis.dif.controller.objects
 

Classes in pt.digitalis.dif.controller.objects that implement IDIFUser
 class DIFUserInSession
          Represents a IDIFUser in session after a successful login.
 

Constructors in pt.digitalis.dif.controller.objects with parameters of type IDIFUser
DIFUserInSession(IDIFUser user, String password)
           
 

Uses of IDIFUser in pt.digitalis.dif.controller.security.managers
 

Methods in pt.digitalis.dif.controller.security.managers that return IDIFUser
 IDIFUser IAuthenticationManager.getLoggedUser(String clientIdentifier)
          Searches for the user authenticated for this client in the authentication system and returns it if present.
 IDIFUser IIdentityManager.getUser(String userID)
          Gets an user from its id, if it exists.
 IDIFUser IAuthenticationManager.logIn(String clientIdentifier, String userID, String password)
          Performs the log in of a user with a given id on the framework.
 

Methods in pt.digitalis.dif.controller.security.managers that return types with arguments of type IDIFUser
 Set<IDIFUser> IIdentityManager.getAllUsers()
          Get all the users in the system
 Map<String,IDIFUser> IIdentityManager.getGroupUsers(String groupID)
          Returns the list of users of a given group
 Set<IDIFUser> IIdentityManager.getUsers(Pagination page)
          Returns a subset of all users in the system, according to the parameters
 Set<IDIFUser> IIdentityManager.getUsersByAttribute(String attribute, String value)
          Returns the list of users with a given attribute value.
 Set<IDIFUser> IIdentityManager.getUsersByAttributes(Map<String,String> attributes)
          Get users that match specified attributes.
 Set<IDIFUser> IIdentityManager.getUsersByAttributes(Map<String,String> attributes, Pagination page)
          Get users that match specified attributes.
 Set<IDIFUser> IIdentityManager.getUsersByEmail(String value)
          Returns the list of users with a given email attribute value.
 

Methods in pt.digitalis.dif.controller.security.managers with parameters of type IDIFUser
 void IIdentityManager.addUser(IDIFUser newUser)
          Adds a new user to the manager.
 boolean IAuthorizationManager.hasAccessUser(IDIFUser user, Entity entityType, String entityID)
          Checks if a user can access to a given entity identified with a type and ID.
 boolean IAuthorizationManager.hasAccessUser(IDIFUser user, IApplication application)
          Checks if the user can access a given application.
 boolean IAuthorizationManager.hasAccessUser(IDIFUser user, IService service)
          Checks if the user can access a given service.
 boolean IAuthorizationManager.hasAccessUser(IDIFUser user, IStage stage)
          Checks if the user can access a given stage.
 void IIdentityManager.updateUser(IDIFUser existingUser, String userID)
          Updates an existing user.
 

Uses of IDIFUser in pt.digitalis.dif.controller.security.managers.impl
 

Methods in pt.digitalis.dif.controller.security.managers.impl that return IDIFUser
 IDIFUser AuthenticationManagerStaticImpl.getLoggedUser(String clientIdentifier)
           
 IDIFUser IdentityManagerStaticImpl.getUser(String userID)
          Returns null if the user doesn't exist.
 IDIFUser AuthenticationManagerStaticImpl.logIn(String clientSpecificID, String userID, String password)
           
 

Methods in pt.digitalis.dif.controller.security.managers.impl that return types with arguments of type IDIFUser
 Set<IDIFUser> IdentityManagerStaticImpl.getAllUsers()
           
 Map<String,IDIFUser> IdentityManagerStaticImpl.getGroupUsers(String groupID)
           
 Set<IDIFUser> IdentityManagerStaticImpl.getUsers(Pagination page)
           
 Set<IDIFUser> IdentityManagerStaticImpl.getUsersByAttribute(String attribute, String value)
           
 Set<IDIFUser> IdentityManagerStaticImpl.getUsersByAttributes(Map<String,String> attributes)
           
 Set<IDIFUser> IdentityManagerStaticImpl.getUsersByAttributes(Map<String,String> attributes, Pagination page)
           
 Set<IDIFUser> IdentityManagerStaticImpl.getUsersByEmail(String value)
           
 

Methods in pt.digitalis.dif.controller.security.managers.impl with parameters of type IDIFUser
 void IdentityManagerStaticImpl.addUser(IDIFUser newUser)
           
protected  boolean AbstractAuthorizationManagerImpl.checkAccessUser(IDIFUser user, Entity entityType, String entityID)
          Check for access grants
protected  boolean AbstractAuthorizationManagerImpl.checkUserDirectAccess(IDIFUser user, Entity entityType, String entityID)
          Implementation if a non-hierarchical check for direct access grants
 boolean AbstractAuthorizationManagerImpl.hasAccessUser(IDIFUser user, Entity entityType, String entityID)
           
 boolean AbstractAuthorizationManagerImpl.hasAccessUser(IDIFUser user, IApplication application)
           
 boolean AbstractAuthorizationManagerImpl.hasAccessUser(IDIFUser user, IService service)
           
 boolean AbstractAuthorizationManagerImpl.hasAccessUser(IDIFUser user, IStage stage)
           
 void IdentityManagerStaticImpl.updateUser(IDIFUser existingUser, String userID)
           
 

Uses of IDIFUser in pt.digitalis.dif.controller.security.objects
 

Subinterfaces of IDIFUser in pt.digitalis.dif.controller.security.objects
 interface IDIFClonableUser
          Extends the functionality of IDIFUser with internal usage attribute management
 interface IDIFInternalUser
          Extends the functionality of IDIFUser with internal usage attribute management
 

Classes in pt.digitalis.dif.controller.security.objects that implement IDIFUser
 class DIFUserImpl
          Default implementation VALIDATE: Check the Cloneable usage good/bad practice!
 

Methods in pt.digitalis.dif.controller.security.objects that return types with arguments of type IDIFUser
 Map<String,IDIFUser> IDIFGroup.getUsers()
          Retrieves the list of users associated with this group
 Map<String,IDIFUser> DIFGroupImpl.getUsers()
           
 

Constructors in pt.digitalis.dif.controller.security.objects with parameters of type IDIFUser
DIFUserImpl(IDIFUser user, String password)
          Constructor from a IDIFUser object
 

Uses of IDIFUser in pt.digitalis.dif.utils.extensions.cms
 

Methods in pt.digitalis.dif.utils.extensions.cms that return IDIFUser
 IDIFUser Node.getUser()
          Inspector for the 'user' attribute.
 IDIFUser ContentItem.getUser()
          Inspector for the 'userId' attribute.
 

Methods in pt.digitalis.dif.utils.extensions.cms with parameters of type IDIFUser
protected  List<ContentItem> AbstractContentManager.checkContentAccessInList(List<ContentItem> listToCheck, IDIFUser user)
          Check the access in a list of content items
protected  List<Node> AbstractContentManager.checkNodeAccessInList(List<Node> listToCheck, IDIFUser user)
          Check the access in a list of nodes
 boolean IContentManager.deleteContent(String id, IDIFUser user)
          Deletes an existing content from the repository
 boolean AbstractContentManager.deleteContent(String id, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.deleteContentInRepository(String id, IDIFUser user)
          Deletes an existing content from the repository
 boolean IContentManager.deleteNode(Long id, IDIFUser user)
          Deletes an existing node from the repository
 boolean AbstractContentManager.deleteNode(Long id, IDIFUser user)
           
 boolean IContentManager.deleteNode(Long id, IDIFUser user, boolean cascadeDelete)
          Deletes an existing node from the repository.
 boolean AbstractContentManager.deleteNode(Long id, IDIFUser user, boolean cascadeDelete)
           
protected abstract  boolean AbstractContentManager.deleteNodeInRepository(Long nodeId, IDIFUser user, boolean cascadeDelete)
          Deletes an existing node from the repository.
 List<ContentItem> IContentManager.getContentByDescription(String description, IDIFUser user)
          Searches content items by description
 List<ContentItem> AbstractContentManager.getContentByDescription(String description, IDIFUser user)
           
protected abstract  List<ContentItem> AbstractContentManager.getContentByDescriptionInRepository(String description, IDIFUser user)
          Searches content items by description
 ContentItem IContentManager.getContentById(String id, IDIFUser user)
          Searches a content item by it's unique identifier
 ContentItem AbstractContentManager.getContentById(String id, IDIFUser user)
           
protected abstract  ContentItem AbstractContentManager.getContentByIdInRepository(String id, IDIFUser user)
          Searches an existing content by it's unique identifier
protected  ContentItem AbstractContentManager.getContentByIdNoPermissions(String id, IDIFUser user)
          Searches an existing content by it's unique identifier, without access validation
protected abstract  ContentItem AbstractContentManager.getContentByIdNoPermissionsInRepository(String id, IDIFUser user)
          Searches an existing content by it's unique identifier, without access validation
 List<ContentItem> IContentManager.getContentByName(String name, IDIFUser user)
          Searches content items by name
 List<ContentItem> AbstractContentManager.getContentByName(String name, IDIFUser user)
           
protected abstract  List<ContentItem> AbstractContentManager.getContentByNameInRepository(String name, IDIFUser user)
          Searches content items by name
 List<ContentItem> IContentManager.getContentByParentNode(Long nodeId, IDIFUser user)
          Searches content items by parent node
 List<ContentItem> AbstractContentManager.getContentByParentNode(Long nodeId, IDIFUser user)
           
protected abstract  List<ContentItem> AbstractContentManager.getContentByParentNodeInRepository(Long nodeId, IDIFUser user)
          Searches content items by parent node
 ContentItem IContentManager.getContentFromNodePathByName(String nodeFullPath, String name, IDIFUser user)
          Searches content items by name and node path
 ContentItem AbstractContentManager.getContentFromNodePathByName(String nodeFullPath, String name, IDIFUser user)
           
protected abstract  ContentItem AbstractContentManager.getContentFromNodePathByNameRepository(String nodeFullPath, String name, IDIFUser user)
          Searches content items by name and node path on the repository
 Node IContentManager.getNodeById(Long id, IDIFUser user)
          Searches a node by unique identifier
 Node AbstractContentManager.getNodeById(Long id, IDIFUser user)
           
protected abstract  Node AbstractContentManager.getNodeByIdInRepository(Long id, IDIFUser user)
          Searches a node by unique identifier
protected  Node AbstractContentManager.getNodeByIdNoPermissions(Long nodeID, IDIFUser user)
          Searches a node by unique identifier.
protected abstract  Node AbstractContentManager.getNodeByIdNoPermissionsInRepository(Long id, IDIFUser user)
          Searches for a given node.
 Node IContentManager.getNodeByPath(String fullPath, IDIFUser user)
          Searches a node by path
 Node AbstractContentManager.getNodeByPath(String fullPath, IDIFUser user)
           
protected abstract  Node AbstractContentManager.getNodeByPathInRespository(String fullPath, IDIFUser user)
          Searches a node by path
protected  Node AbstractContentManager.getNodeByPathNoPermissions(String nodePath, IDIFUser user)
          Searches a node by path.
 List<Node> IContentManager.getNodesByDescription(String description, IDIFUser user)
          Searches nodes by description
 List<Node> AbstractContentManager.getNodesByDescription(String description, IDIFUser user)
           
 List<Node> IContentManager.getNodesByDescription(String basePathToSearch, String description, IDIFUser user)
          Searches nodes by description
 List<Node> AbstractContentManager.getNodesByDescription(String basePathToSearch, String description, IDIFUser user)
           
protected abstract  List<Node> AbstractContentManager.getNodesByDescriptionInRepository(String description, IDIFUser user)
          Searches nodes by description
protected abstract  List<Node> AbstractContentManager.getNodesByDescriptionInRepository(String basePathToSearch, String description, IDIFUser user)
          Searches nodes by description
 List<Node> IContentManager.getNodesByName(String name, IDIFUser user)
          Searches nodes by name
 List<Node> AbstractContentManager.getNodesByName(String name, IDIFUser user)
           
 List<Node> IContentManager.getNodesByName(String basePathToSearch, String name, IDIFUser user)
          Searches nodes by name
 List<Node> AbstractContentManager.getNodesByName(String basePathToSearch, String name, IDIFUser user)
           
protected abstract  List<Node> AbstractContentManager.getNodesByNameInRepository(String name, IDIFUser user)
          Searches nodes by name
protected abstract  List<Node> AbstractContentManager.getNodesByNameInRepository(String basePathToSearch, String name, IDIFUser user)
          Searches nodes by name
 List<Node> IContentManager.getNodesByParentNode(Long nodeId, IDIFUser user)
          Searches nodes by parent node
 List<Node> AbstractContentManager.getNodesByParentNode(Long nodeId, IDIFUser user)
           
protected abstract  List<Node> AbstractContentManager.getNodesByParentNodeInRepository(Long nodeId, IDIFUser user)
          Searches nodes by parent node
protected  List<Node> AbstractContentManager.getNodesByParentNodeNoPermissions(Long nodeId, IDIFUser user)
          Searches nodes by parent node.
protected abstract  List<Node> AbstractContentManager.getNodesByParentNodeNoPermissionsInRepository(Long nodeId, IDIFUser user)
          Searches nodes by parent node.
 List<Node> IContentManager.getRootNodes(IDIFUser user)
          Searches root nodes that user has access
 List<Node> AbstractContentManager.getRootNodes(IDIFUser user)
           
protected abstract  List<Node> AbstractContentManager.getRootNodesInRepository(IDIFUser user)
          Searches root nodes
 boolean Node.grantAccessUser(IDIFUser user)
          Grants Node access to user.
 boolean ContentItem.grantAccessUser(IDIFUser user)
          Grants ContentItem access to user.
 boolean IContentManager.grantContentAccessToUser(String contentId, IDIFUser user)
          Grants user access to content item
 boolean AbstractContentManager.grantContentAccessToUser(String contentId, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.grantContentAccessToUserInRepository(ContentItem contentItemParam, IDIFUser user)
          Grants user access to content item
 boolean IContentManager.grantNodeAccessToUser(Long nodeId, IDIFUser user)
          Grants user access to node
 boolean AbstractContentManager.grantNodeAccessToUser(Long nodeId, IDIFUser user)
           
 boolean IContentManager.grantNodeAccessToUser(String nodePath, IDIFUser user)
          Grants user access to node
 boolean AbstractContentManager.grantNodeAccessToUser(String nodePath, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.grantNodeAccessToUserInRepository(Node nodeParam, IDIFUser user)
          Grants user access to node
 boolean IContentManager.hasContentAccessUser(ContentItem content, IDIFUser user)
          Checks if user has access to the content
 boolean AbstractContentManager.hasContentAccessUser(ContentItem contentItem, IDIFUser user)
           
 boolean IContentManager.hasContentAccessUser(String contentId, IDIFUser user)
          Checks if user has access to the content
 boolean AbstractContentManager.hasContentAccessUser(String contentId, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.hasContentAccessUserInRepository(String contentId, IDIFUser user)
          Checks if group has access to thentent
 boolean IContentManager.hasNodeAccessUser(Long nodeId, IDIFUser user)
          Checks if user has access to the node
 boolean AbstractContentManager.hasNodeAccessUser(Long nodeId, IDIFUser user)
           
 boolean AbstractContentManager.hasNodeAccessUser(Node node, IDIFUser user)
          Checks if user has access to the node
protected abstract  boolean AbstractContentManager.hasNodeAccessUserInRespository(Long nodeId, IDIFUser user)
          Checks if user has access to the node
protected abstract  ContentItem AbstractContentManager.mergeContentInRepository(ContentItem contentParam, IDIFUser user)
          Updates a content item
protected abstract  Node AbstractContentManager.mergeNodeInRepository(Node nodeParam, IDIFUser user)
          Updates a node
 boolean IContentManager.moveContent(String contentID, Long destinationNodeId, IDIFUser user)
          Moves content to another node
 boolean AbstractContentManager.moveContent(String contentID, Long destinationNodeId, IDIFUser user)
           
protected abstract  ContentItem AbstractContentManager.moveContentInRepository(ContentItem contentParam, Node nodeParam, IDIFUser user)
          Moves content to another node
 boolean IContentManager.moveNode(Long nodeID, Long destinationNodeId, IDIFUser user)
          Moves a node to another parent node
 boolean AbstractContentManager.moveNode(Long nodeID, Long destinationNodeId, IDIFUser user)
           
protected abstract  Node AbstractContentManager.moveNodeInRepository(Node node, IDIFUser user)
          Moves node to another parent node
protected  boolean AbstractContentManager.nodeExists(Long id, IDIFUser user)
          Searches a node by unique identifier.
protected abstract  boolean AbstractContentManager.nodeExistsInRepository(Long id, IDIFUser user)
          Searches a node by unique identifier in the repository.
protected abstract  ContentItem AbstractContentManager.persistContentInRepository(ContentItem content, IDIFUser user)
          Adds a new content to repository.
protected abstract  Node AbstractContentManager.persistNodeInRepository(Node node, IDIFUser user)
          Adds a new content to repository.
 boolean Node.revokeAccessUser(IDIFUser user)
          Revokes Node access to group. revoke access is done immediately
 boolean ContentItem.revokeAccessUser(IDIFUser user)
          Revokes ContentItem access to group. revoke access is done immediately
 boolean IContentManager.revokeContentAccessToUser(String contentId, IDIFUser user)
          Revokes user access to content item
 boolean AbstractContentManager.revokeContentAccessToUser(String contentId, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.revokeContentAccessToUserInRepository(String contentId, IDIFUser user)
          Revokes user access to content item
 boolean IContentManager.revokeNodeAccessToUser(Long nodeId, IDIFUser user)
          Revokes user access to node
 boolean AbstractContentManager.revokeNodeAccessToUser(Long nodeId, IDIFUser user)
           
protected abstract  boolean AbstractContentManager.revokeNodeAccessToUserInRepository(Long nodeId, IDIFUser user)
          Revokes user access to node
 void Node.setUser(IDIFUser user)
          Sets the 'user' attribute.
 void ContentItem.setUserId(IDIFUser user)
          Sets the 'userId' attribute.
 

Constructors in pt.digitalis.dif.utils.extensions.cms with parameters of type IDIFUser
ContentItem(IDIFUser user)
          Default constructor for DocumentRepositoryEntry.
ContentItem(Long parentNodeId, String name, String creatorID, IDIFUser user)
           
Node(Long parentNodeId, String name, String creatorID, IDIFUser user)
          Constructor
 



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