mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUACAMOLE-204: Inline String declaration for ticket variable.
This commit is contained in:
		
				
					committed by
					
						 Nick Couchman
						Nick Couchman
					
				
			
			
				
	
			
			
			
						parent
						
							c293f04c1c
						
					
				
				
					commit
					c591a58f93
				
			| @@ -79,12 +79,10 @@ public class AuthenticationProviderService { | ||||
|     public AuthenticatedUser authenticateUser(Credentials credentials) | ||||
|             throws GuacamoleException { | ||||
|  | ||||
|         String ticket = null; | ||||
|  | ||||
|         // Pull CAS ticket from request if present | ||||
|         HttpServletRequest request = credentials.getRequest(); | ||||
|         if (request != null) { | ||||
|             ticket = request.getParameter(CASTicketField.PARAMETER_NAME); | ||||
|             String ticket = request.getParameter(CASTicketField.PARAMETER_NAME); | ||||
|             if (ticket != null) { | ||||
|                 AuthenticatedUser authenticatedUser = authenticatedUserProvider.get(); | ||||
|                 authenticatedUser.init(ticketService.processUsername(ticket), credentials); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user