public interface Authentication
| 限定符和类型 | 方法和说明 |
|---|---|
BooleanResponse |
auth(String userName,
String password) |
BooleanResponse |
auth(String userName,
String password,
boolean checkAdmin) |
PasswordEncoder |
getPasswordEncode()
已过时。
|
UserDetails |
getUser(String user)
已过时。
|
boolean |
isAdmin(String userName) |
@Deprecated UserDetails getUser(String user) throws JoyQueueException
@Deprecated PasswordEncoder getPasswordEncode()
BooleanResponse auth(String userName, String password)
BooleanResponse auth(String userName, String password, boolean checkAdmin)
boolean isAdmin(String userName)
Copyright © 2020 Joyqueue Community. All rights reserved.