Package | Description |
---|---|
com.communote.server.core.security.iprange |
Modifier and Type | Method and Description |
---|---|
IpRangeFilterVO |
IpRangeFilterManagementBase.createFilter(String name,
String includes,
String excludes) |
IpRangeFilterVO |
IpRangeFilterManagement.createFilter(String name,
String includes,
String excludes) |
protected IpRangeFilterVO |
IpRangeFilterManagementImpl.handleCreateFilter(String name,
String includes,
String excludes)
Performs the core logic for
IpRangeFilterManagementBase.createFilter(String, String, String) |
protected abstract IpRangeFilterVO |
IpRangeFilterManagementBase.handleCreateFilter(String name,
String includes,
String excludes)
Performs the core logic for
IpRangeFilterManagementBase.createFilter(String, String, String) |
protected boolean |
IpRangeFilterManagementImpl.handleIsInRange(String ip,
ChannelType channel)
Performs the core logic for
IpRangeFilterManagementBase.isInRange(String, com.communote.server.model.security.ChannelType) |
protected abstract boolean |
IpRangeFilterManagementBase.handleIsInRange(String ip,
ChannelType channel)
Performs the core logic for
IpRangeFilterManagementBase.isInRange(String, com.communote.server.model.security.ChannelType) |
protected void |
IpRangeFilterManagementImpl.handleRemoveFilter(Long id,
String currentIP,
ChannelType currentChannel)
Performs the core logic for
IpRangeFilterManagementBase.removeFilter(Long, String, com.communote.server.model.security.ChannelType) |
protected abstract void |
IpRangeFilterManagementBase.handleRemoveFilter(Long id,
String currentIP,
ChannelType currentChannel)
Performs the core logic for
IpRangeFilterManagementBase.removeFilter(Long, String, com.communote.server.model.security.ChannelType) |
protected void |
IpRangeFilterManagementImpl.handleSetChannelEnabled(ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected abstract void |
IpRangeFilterManagementBase.handleSetChannelEnabled(ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected IpRangeFilterVO |
IpRangeFilterManagementImpl.handleSetFilterChannelEnabled(Long id,
ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected abstract IpRangeFilterVO |
IpRangeFilterManagementBase.handleSetFilterChannelEnabled(Long id,
ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected IpRangeFilterVO |
IpRangeFilterManagementImpl.handleSetFilterEnabled(Long id,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected abstract IpRangeFilterVO |
IpRangeFilterManagementBase.handleSetFilterEnabled(Long id,
boolean enabled,
String currentIP,
ChannelType currentChannel)
|
protected void |
IpRangeFilterManagementImpl.handleUpdateFilter(Long id,
String name,
String includes,
String excludes,
String currentIP,
ChannelType currentChannel)
|
protected abstract void |
IpRangeFilterManagementBase.handleUpdateFilter(Long id,
String name,
String includes,
String excludes,
String currentIP,
ChannelType currentChannel)
|
static boolean |
IpRangeHelper.ipInRange(String ip,
String start,
String end)
Checks if if the IP is in range.
|
static BigInteger |
IpRangeHelper.ipToInt(String ip)
Transform the given ipv6 address to 128 bit integer.
|
boolean |
IpRangeFilterManagementBase.isInRange(String ip,
ChannelType channel) |
boolean |
IpRangeFilterManagement.isInRange(String ip,
ChannelType channel) |
void |
IpRangeFilterManagementBase.removeFilter(Long id,
String currentIP,
ChannelType currentChannel) |
void |
IpRangeFilterManagement.removeFilter(Long id,
String currentIP,
ChannelType currentChannel) |
void |
IpRangeFilterManagementBase.setChannelEnabled(ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
void |
IpRangeFilterManagement.setChannelEnabled(ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
IpRangeFilterVO |
IpRangeFilterManagementBase.setFilterChannelEnabled(Long id,
ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
IpRangeFilterVO |
IpRangeFilterManagement.setFilterChannelEnabled(Long id,
ChannelType channel,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
IpRangeFilterVO |
IpRangeFilterManagementBase.setFilterEnabled(Long id,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
IpRangeFilterVO |
IpRangeFilterManagement.setFilterEnabled(Long id,
boolean enabled,
String currentIP,
ChannelType currentChannel) |
static IpRange |
IpRangeHelper.stringToRange(String iprange)
Parse an iP range.
|
static List<IpRange> |
IpRangeHelper.stringToRanges(String text,
String delimiter)
Parses multiple IP ranges.
|
void |
IpRangeFilterManagementBase.updateFilter(Long id,
String name,
String includes,
String excludes,
String currentIP,
ChannelType currentChannel) |
void |
IpRangeFilterManagement.updateFilter(Long id,
String name,
String includes,
String excludes,
String currentIP,
ChannelType currentChannel) |
Copyright © 2019 Communote team. All rights reserved.