mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	Ticket #263: Finalizing changes.
This commit is contained in:
		| @@ -114,4 +114,17 @@ public interface Directory<IdentifierType, ObjectType> { | ||||
|      */ | ||||
|     void remove(IdentifierType identifier) throws GuacamoleException; | ||||
|  | ||||
|     /** | ||||
|      * Moves the object with the given identifier to the group with the given | ||||
|      * group identifier. | ||||
|      * | ||||
|      * @param identifier The identifier of the object to remove. | ||||
|      * @param groupIdentifier The identifier of the group to move the object to. | ||||
|      * | ||||
|      * @throws GuacamoleException If an error occurs while moving the object, | ||||
|      *                            or if moving object is not allowed. | ||||
|      */ | ||||
|     void move(IdentifierType identifier, IdentifierType groupIdentifier)  | ||||
|             throws GuacamoleException; | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -109,4 +109,10 @@ public class SimpleConnectionDirectory | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public void move(String identifier, String groupIdentifier)  | ||||
|             throws GuacamoleException { | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -86,4 +86,10 @@ public class SimpleConnectionGroupDirectory | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public void move(String identifier, String groupIdentifier)  | ||||
|             throws GuacamoleException { | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -100,4 +100,10 @@ public class SimpleUserDirectory implements Directory<String, User> { | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public void move(String identifier, String groupIdentifier)  | ||||
|             throws GuacamoleException { | ||||
|         throw new GuacamoleSecurityException("Permission denied."); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user