|
@@ -157,6 +157,9 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
/** The key of the configuration. e.g. Radmin-api */
|
|
|
String API_ADMIN_ACCESS_PERMISSIONS = "api.admin.access.permissions";
|
|
|
|
|
|
+ /** The key of the configuration. e.g. */
|
|
|
+ String API_SEARCH_ACCEPT_REFERERS = "api.search.accept.referers";
|
|
|
+
|
|
|
/** The key of the configuration. e.g. */
|
|
|
String VIRTUAL_HOST_HEADERS = "virtual.host.headers";
|
|
|
|
|
@@ -1630,6 +1633,21 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
*/
|
|
|
String getApiAdminAccessPermissions();
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'api.search.accept.referers'. <br>
|
|
|
+ * The value is, e.g. <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getApiSearchAcceptReferers();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'api.search.accept.referers' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getApiSearchAcceptReferersAsInteger();
|
|
|
+
|
|
|
/**
|
|
|
* Get the value for the key 'virtual.host.headers'. <br>
|
|
|
* The value is, e.g. <br>
|
|
@@ -5662,6 +5680,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
return get(FessConfig.API_ADMIN_ACCESS_PERMISSIONS);
|
|
|
}
|
|
|
|
|
|
+ public String getApiSearchAcceptReferers() {
|
|
|
+ return get(FessConfig.API_SEARCH_ACCEPT_REFERERS);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getApiSearchAcceptReferersAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.API_SEARCH_ACCEPT_REFERERS);
|
|
|
+ }
|
|
|
+
|
|
|
public String getVirtualHostHeaders() {
|
|
|
return get(FessConfig.VIRTUAL_HOST_HEADERS);
|
|
|
}
|
|
@@ -7786,6 +7812,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
defaultMap.put(FessConfig.API_ACCESS_TOKEN_REQUIRED, "false");
|
|
|
defaultMap.put(FessConfig.API_ACCESS_TOKEN_REQUEST_PARAMETER, "");
|
|
|
defaultMap.put(FessConfig.API_ADMIN_ACCESS_PERMISSIONS, "Radmin-api");
|
|
|
+ defaultMap.put(FessConfig.API_SEARCH_ACCEPT_REFERERS, "");
|
|
|
defaultMap.put(FessConfig.VIRTUAL_HOST_HEADERS, "");
|
|
|
defaultMap.put(FessConfig.HTTP_PROXY_HOST, "");
|
|
|
defaultMap.put(FessConfig.HTTP_PROXY_PORT, "8080");
|