保存进度!
This commit is contained in:
parent
0c48486913
commit
e6b25bf487
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2022-12-15 11:11:21
|
* @Date: 2022-12-15 11:11:21
|
||||||
* @LastEditors: Kane
|
* @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
|
* @FilePath: \AdminSys\src\main\java\com\cpic\xim\web\controllers\account\P13AccountCheckController.java
|
||||||
* @Description: P13账号验证用Controller。
|
* @Description: P13账号验证用Controller。
|
||||||
*
|
*
|
||||||
@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping( path = "/account")
|
@RequestMapping( path = "/account")
|
||||||
|
@SuppressWarnings( "unused")
|
||||||
public class P13AccountCheckController
|
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 );
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user