保存进度!
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-15 11:11:21
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2022-12-16 10:17:24
 | 
			
		||||
 * @LastEditTime: 2022-12-16 15:25:23
 | 
			
		||||
 * @FilePath: \AdminSys\src\main\java\com\cpic\xim\web\controllers\account\P13AccountCheckController.java
 | 
			
		||||
 * @Description: P13账号验证用Controller。
 | 
			
		||||
 * 
 | 
			
		||||
@@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
 | 
			
		||||
 | 
			
		||||
@Controller
 | 
			
		||||
@RequestMapping( path = "/account")
 | 
			
		||||
@SuppressWarnings( "unused")
 | 
			
		||||
public class P13AccountCheckController
 | 
			
		||||
{
 | 
			
		||||
    /*****************************************************
 | 
			
		||||
 
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-16 11:26:35
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2022-12-16 11:29:07
 | 
			
		||||
 * @FilePath: \AdminSys\src\test\java\com\cpic\xim\myutils\account\LdapAccountCheckTest.java
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
package com.cpic.xim.myutils.account;
 | 
			
		||||
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class LdapAccountCheckTest
 | 
			
		||||
{
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testLdapLogin()
 | 
			
		||||
    {
 | 
			
		||||
        String userName = "wangwei-202";
 | 
			
		||||
        String password = "Kane@1983";
 | 
			
		||||
 | 
			
		||||
        boolean result = LdapAccountCheck.ldapLogin( userName, password );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user