mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	11590: Explict list of Win binaries to include in tomcat bundle 11592: Created an extra class between NTLanManAuthContext and the AuthContext base class. ETHREEOH-601. 11593: Base the AuthTokenAuthContext on the new ChallengeAuthContext, implemented getChallenge() to retrieve the NTLM challenge from the auth token. ETHREEOH-601. 11595: Changes to FTP base code required for passthru authentication. 11596: Passthru FTP authenticator implementation. 11604: Fix for ETHREEOH-715: Forms drop down is still present in 'Create Content Wizard' 11605: Fix for ETHREEOH-726 - Unable to accept/reject email invite from Share when NTLM filter is enabled on web-tier. 11609: Final part of fix for ETHREEOH-726 - fix to issue where login page would be displayed even though user had authenticated correctly over NTLM. 11610: Correct NTLM sample config for web-tier. 11611: Fix to ETHREEOH-728 - RSS feeds now work when NTLM is enabled. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
		
			
				
	
	
		
			70 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2005-2007 Alfresco Software Limited.
 | |
|  *
 | |
|  * This program is free software; you can redistribute it and/or
 | |
|  * modify it under the terms of the GNU General Public License
 | |
|  * as published by the Free Software Foundation; either version 2
 | |
|  * of the License, or (at your option) any later version.
 | |
| 
 | |
|  * This program is distributed in the hope that it will be useful,
 | |
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
|  * GNU General Public License for more details.
 | |
| 
 | |
|  * You should have received a copy of the GNU General Public License
 | |
|  * along with this program; if not, write to the Free Software
 | |
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 | |
| 
 | |
|  * As a special exception to the terms and conditions of version 2.0 of 
 | |
|  * the GPL, you may redistribute this Program in connection with Free/Libre 
 | |
|  * and Open Source Software ("FLOSS") applications as described in Alfresco's 
 | |
|  * FLOSS exception.  You should have recieved a copy of the text describing 
 | |
|  * the FLOSS exception, and it is also available here: 
 | |
|  * http://www.alfresco.com/legal/licensing"
 | |
|  */
 | |
| package org.alfresco.filesys.auth.cifs;
 | |
| 
 | |
| import org.alfresco.jlan.server.auth.ChallengeAuthContext;
 | |
| import org.alfresco.repo.security.authentication.ntlm.NTLMPassthruToken;
 | |
| 
 | |
| /**
 | |
|  * Authenitcation Token Authentication Context Class
 | |
|  * 
 | |
|  * @author gkspencer
 | |
|  */
 | |
| public class AuthTokenAuthContext extends ChallengeAuthContext {
 | |
| 
 | |
|     // Passthru authentication token
 | |
|     
 | |
|     private NTLMPassthruToken m_token;
 | |
|     
 | |
|     /**
 | |
|      * Class constructor
 | |
|      * 
 | |
|      * @param token NTLMPassthruToken
 | |
|      */
 | |
|     public AuthTokenAuthContext( NTLMPassthruToken token)
 | |
|     {
 | |
|         m_token = token;
 | |
|     }
 | |
|     
 | |
|     /**
 | |
|      * Return the passthru authentication token
 | |
|      * 
 | |
|      * @return NTLMPassthruToken
 | |
|      */
 | |
|     public final NTLMPassthruToken getToken()
 | |
|     {
 | |
|         return m_token;
 | |
|     }
 | |
|     
 | |
|     /**
 | |
|      * Get the challenge
 | |
|      * 
 | |
|      * return byte[]
 | |
|      */
 | |
|     public byte[] getChallenge() {
 | |
|         return m_token.getChallenge().getBytes();
 | |
|     }
 | |
| }
 |