@Configuration public class AgentAuthorize extends Object
Constructor and Description |
---|
AgentAuthorize() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAuthorize(String authorize)
判断授权是否正确
|
String |
getAgentName() |
String |
getAgentPwd() |
static AgentAuthorize |
getInstance()
单例
|
public static AgentAuthorize getInstance()
public String getAgentName()
public String getAgentPwd()
public boolean checkAuthorize(String authorize)
authorize
- 授权Copyright © 2017–2019. All rights reserved.