public class Authentication extends Object
| Constructor and Description |
|---|
Authentication() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPassword()
一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
|
String |
getUserName()
一型一密/一机一密的用户名
|
int |
hashCode() |
void |
setPassword(String password) |
void |
setUserName(String userName) |
String |
toString() |
Authentication |
withPassword(String password) |
Authentication |
withUserName(String userName) |
public Authentication withUserName(String userName)
public String getUserName()
public void setUserName(String userName)
public Authentication withPassword(String password)
public String getPassword()
public void setPassword(String password)
Copyright © 2022. All rights reserved.