public class MatchEntry extends GlobalEntry
Modifier and Type | Class and Description |
---|---|
static class |
MatchEntry.MatchEntryBuilder |
Entry.AbstractEntryBuilder<T>
Modifier and Type | Field and Description |
---|---|
static String |
MATCH_ENTRY_CRITERIA_ADDRESS |
static String |
MATCH_ENTRY_CRITERIA_GROUP |
static String |
MATCH_ENTRY_CRITERIA_HOST |
static String |
MATCH_ENTRY_CRITERIA_LOCAL_ADDRESS |
static String |
MATCH_ENTRY_CRITERIA_LOCAL_PORT |
static String |
MATCH_ENTRY_CRITERIA_RDOMAIN |
static String |
MATCH_ENTRY_CRITERIA_USER |
keyEntries, sshdConfigFile
Constructor and Description |
---|
MatchEntry(SshdConfigFile sshdConfigFile) |
addBeginingComment, addCommentForEntry, addEntry, appendEntry, deleteEntry, entryMatches, executeRead, executeWrite, findEntry, findEntryAtIndex, findEntryIndex, findKeyValueEntry, getBlankEntryKey, getCommentEntryKey, getEntry, getKeyEntries, getKeyEntriesOrderedMap, updateEntry
public static final String MATCH_ENTRY_CRITERIA_USER
public static final String MATCH_ENTRY_CRITERIA_GROUP
public static final String MATCH_ENTRY_CRITERIA_HOST
public static final String MATCH_ENTRY_CRITERIA_LOCAL_ADDRESS
public static final String MATCH_ENTRY_CRITERIA_LOCAL_PORT
public static final String MATCH_ENTRY_CRITERIA_ADDRESS
public static final String MATCH_ENTRY_CRITERIA_RDOMAIN
public MatchEntry(SshdConfigFile sshdConfigFile)
public void addMatchCriteriaComment(FileEntryType.CommentEntry commentEntry)
public String matchEntryCriteriaAsString()
public boolean matchValueAgainstPattern(String paramKey, Collection<String> patterns)
public Iterator<FileEntryType.CommentEntry> getMatchCriteriaCommentEntriesIterator()
public void addUserCriteria(String[] values)
public void addUserCriteria(String value)
public void pushUserCriteria(String value)
public void updateUserCriteria(String value)
public void deleteUserCriteria()
public void addGroupCriteria(String[] values)
public void addGroupCriteria(String value)
public void pushGroupCriteria(String value)
public void updateGroupCriteria(String value)
public void deleteGroupCriteria()
public void addHostCriteria(String[] values)
public void addHostCriteria(String value)
public void pushHostCriteria(String value)
public void updateHostCriteria(String value)
public void deleteHostCriteria()
public void addLocalAddressCriteria(String[] values)
public void addLocalAddressCriteria(String value)
public void pushLocalAddressCriteria(String value)
public void updateLocalAddressCriteria(String value)
public void deleteLocalAddressCriteria()
public void addLocalPortCriteria(String[] values)
public void addLocalPortCriteria(String value)
public void pushLocalPortCriteria(String value)
public void updateLocalPortCriteria(String value)
public void deleteLocalPortCriteria()
public void addAddressCriteria(String[] values)
public void addAddressCriteria(String value)
public void pushAddressCriteria(String value)
public void updateAddressCriteria(String value)
public void deleteAddressCriteria()
public void addRDomainCriteria(String[] values)
public void addRDomainCriteria(String value)
public void pushRDomainCriteria(String value)
public void updateRDomainCriteria(String value)
public void deleteRDomainCriteria()
public void parse(String[] matchValueSplit)
public boolean hasKey(String key)
public boolean hasUserEntry()
public boolean hasGroupEntry()
public boolean hasHostEntry()
public boolean hasLocalAddressEntry()
public boolean hasLocalPortEntry()
public boolean hasAddressEntry()
public boolean hasRDomainEntry()
public static boolean isAllowedKey(String key)
public static boolean isNotAllowedKey(String key)
Copyright © 2024. All rights reserved.