@Component(value="cuba_TrustedLoginHandler")
public class TrustedLoginHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
protected ServerConfig |
serverConfig |
Constructor and Description |
---|
TrustedLoginHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAddress(java.lang.String address) |
boolean |
checkPassword(java.lang.String password) |
protected java.lang.String |
convertToRegex(java.lang.String ipList) |
public static final java.lang.String NAME
@Inject protected ServerConfig serverConfig
public boolean checkAddress(java.lang.String address)
address
- ip-addressprotected java.lang.String convertToRegex(java.lang.String ipList)
public boolean checkPassword(java.lang.String password)
password
- password to check