Interface IMappingServiceShell
-
- All Known Implementing Classes:
MappingServiceShell
public interface IMappingServiceShellThis interface defines the methods that need to be implemented in order to provide commands for the Karaf shell.- Author:
- Lorand Jakab
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDefaultKeyIPv4()Add the default key "password" for the IPv4 prefix 0.0.0.0/0.voidaddDefaultKeyIPv6()Add the default key "password" for the IPv6 prefix ::0/0.java.lang.StringprettyPrintKeys()Print the full authentication key database in human readable form.java.lang.StringprettyPrintMappings()Print the full mapping database in human readable form.java.lang.StringprintKeys()Print the full authentication key database.java.lang.StringprintMappings()Print the full mapping database.
-
-
-
Method Detail
-
printMappings
java.lang.String printMappings()
Print the full mapping database.- Returns:
- the text to be printed on the Karaf console.
-
prettyPrintMappings
java.lang.String prettyPrintMappings()
Print the full mapping database in human readable form.- Returns:
- the text to be printed on the Karaf console.
-
printKeys
java.lang.String printKeys()
Print the full authentication key database.- Returns:
- the text to be printed on the Karaf console.
-
prettyPrintKeys
java.lang.String prettyPrintKeys()
Print the full authentication key database in human readable form.- Returns:
- the text to be printed on the Karaf console.
-
addDefaultKeyIPv4
void addDefaultKeyIPv4()
Add the default key "password" for the IPv4 prefix 0.0.0.0/0.
-
addDefaultKeyIPv6
void addDefaultKeyIPv6()
Add the default key "password" for the IPv6 prefix ::0/0.
-
-