Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h1>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/259">#259</a>] - Prevent system property requests from affecting properties other than the one requested</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/256">#256</a>] - Record configuration changes in audit log</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/251">#251</a>] - Enable JUnit 5 tests</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/250">#250</a>] - Migrated the admin console page to JSTL, made its content translatable, and added CSRF protection</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/249">#249</a>] - Only trust forwarded headers (such as X-Forwarded-For) from trusted reverse proxies</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/248">#248</a>] - Do not expose properties that are encrypted or otherwise sensitive.</li>
<li>[<a href="https://github.com/igniterealtime/openfire-restAPI-plugin/issues/246">#246</a>] - Require custom authenticator plugin to be annotated as an authenticator</li>
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<adminconsole>
<tab id="tab-server">
<sidebar id="sidebar-server-settings">
<item id="rest-api" name="REST API" url="rest-api.jsp"
description="Click to manage the service that allows to configure the Openfire over a RESTFul API" />
<item id="rest-api" name="${restapi.admin.item.settings.name}" url="rest-api.jsp"
description="${restapi.admin.item.settings.description}" />
</sidebar>
</tab>
</adminconsole>
Expand Down
40 changes: 40 additions & 0 deletions src/i18n/restapi_i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,43 @@ stat.restapi_responses.server_error.units=Responses
stat.restapi_responses.other.name=REST API unknown responses
stat.restapi_responses.other.desc=The amount of HTTP responses that had an unrecognized status code.
stat.restapi_responses.other.units=Responses

restapi.admin.item.settings.name=REST API
restapi.admin.item.settings.description=Click to manage the service that allows to configure the Openfire over a RESTful API

restapi.settings.title=REST API Properties
restapi.settings.info=Use the form below to enable or disable the REST API and configure the authentication.
restapi.settings.saved=REST API properties edited successfully.
restapi.settings.save=Save Settings
restapi.settings.documentation=You can find detailed documentation of the Openfire REST API here: {0}REST API Documentation (opens in new tab){1}
restapi.settings.error.csrf=The settings could not be saved, as the request could not be verified (CSRF failure). Please try again.
restapi.settings.error.authtype=Unrecognized authentication type.
restapi.settings.error.generic=An unexpected error occurred.
restapi.settings.warning.spoofable=Access is restricted to specific IP addresses, but the admin console is configured to determine the client address from forwarded HTTP headers (such as X-Forwarded-For), without a list of trusted proxies. Any client can bypass the IP address check by sending such a header. Configure the addresses of your reverse proxies as trusted proxies on the {0}Admin Console Access{1} page.
restapi.settings.service.title=REST API
restapi.settings.service.info=Enable or disable the processing of REST API requests.
restapi.settings.service.enabled=Enabled
restapi.settings.service.enabled.info=REST API requests will be processed.
restapi.settings.service.disabled=Disabled
restapi.settings.service.disabled.info=REST API requests will be ignored.
restapi.settings.auth.title=Authentication
restapi.settings.auth.info=The REST API can be secured with HTTP basic authentication, with a shared secret key defined below, or with a custom authentication filter.
restapi.settings.auth.basic=HTTP basic auth
restapi.settings.auth.basic.info=REST API authentication with Openfire admin account.
restapi.settings.auth.secret=Secret key auth
restapi.settings.auth.secret.info=REST API authentication over specified secret key.
restapi.settings.auth.secret.label=Secret key:
restapi.settings.auth.custom=Custom authentication filter classname
restapi.settings.auth.custom.info=REST API authentication delegates to a custom filter implemented in some other plugin.
restapi.settings.auth.custom.label=Filter classname:
restapi.settings.auth.custom.reload-note=Note: changing back and forth from custom authentication filter forces the REST API plugin reloading.
restapi.settings.allowedips.title=Allowed IP Addresses
restapi.settings.allowedips.info=For extra security you can specify the list of IP addresses that are allowed to use this service. An empty list means that the service can be accessed from any location. Addresses are delimited by commas.
restapi.settings.allowedips.label=Allowed IP Addresses:
restapi.settings.allowedips.proxy-note=Note: when the REST API is accessed through a reverse proxy, configure Openfire to use the forwarded client address, and to trust only your proxies, on the {0}Admin Console Access{1} page.
restapi.settings.logging.title=Additional Logging
restapi.settings.logging.info=When enabled, the operations that are performed through the REST API (such as the creation of a user or chat room) are recorded in the Openfire log file, at the INFO level. This can help to troubleshoot integrations, but increases the amount of logging.
restapi.settings.logging.enabled=Enabled
restapi.settings.logging.enabled.info=Logging enabled.
restapi.settings.logging.disabled=Disabled
restapi.settings.logging.disabled.info=Logging disabled.
40 changes: 40 additions & 0 deletions src/i18n/restapi_i18n_nl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,43 @@ stat.restapi_responses.server_error.units=Antwoorden
stat.restapi_responses.other.name=REST API onbekende antwoorden
stat.restapi_responses.other.desc=Het aantal HTTP antwoorden met een onbekende status code.
stat.restapi_responses.other.units=Antwoorden

restapi.admin.item.settings.name=REST API
restapi.admin.item.settings.description=Klik om de dienst te beheren waarmee Openfire via een RESTful API geconfigureerd kan worden

restapi.settings.title=REST API-eigenschappen
restapi.settings.info=Gebruik het onderstaande formulier om de REST API in of uit te schakelen en om de authenticatie te configureren.
restapi.settings.saved=De REST API-eigenschappen zijn succesvol gewijzigd.
restapi.settings.save=Instellingen opslaan
restapi.settings.documentation=Gedetailleerde documentatie van de Openfire REST API is hier te vinden: {0}REST API-documentatie (opent in een nieuw tabblad){1}
restapi.settings.error.csrf=De instellingen konden niet worden opgeslagen, omdat het verzoek niet geverifieerd kon worden (CSRF-fout). Probeer het opnieuw.
restapi.settings.error.authtype=Onbekend authenticatietype.
restapi.settings.error.generic=Er is een onverwachte fout opgetreden.
restapi.settings.warning.spoofable=De toegang is beperkt tot specifieke IP-adressen, maar de beheerconsole is zo geconfigureerd dat het adres van de client wordt bepaald aan de hand van doorgestuurde HTTP-headers (zoals X-Forwarded-For), zonder een lijst van vertrouwde proxies. Iedere client kan de controle op IP-adressen omzeilen door zo een header mee te sturen. Configureer de adressen van uw reverse proxies als vertrouwde proxies op de pagina {0}Toegang tot de beheerconsole{1}.
restapi.settings.service.title=REST API
restapi.settings.service.info=Schakel de verwerking van REST API-verzoeken in of uit.
restapi.settings.service.enabled=Ingeschakeld
restapi.settings.service.enabled.info=REST API-verzoeken worden verwerkt.
restapi.settings.service.disabled=Uitgeschakeld
restapi.settings.service.disabled.info=REST API-verzoeken worden genegeerd.
restapi.settings.auth.title=Authenticatie
restapi.settings.auth.info=De REST API kan worden beveiligd met HTTP basic-authenticatie, met een hieronder gedefinieerde gedeelde geheime sleutel, of met een eigen authenticatiefilter.
restapi.settings.auth.basic=HTTP basic-authenticatie
restapi.settings.auth.basic.info=REST API-authenticatie met een Openfire-beheerdersaccount.
restapi.settings.auth.secret=Authenticatie met geheime sleutel
restapi.settings.auth.secret.info=REST API-authenticatie met de opgegeven geheime sleutel.
restapi.settings.auth.secret.label=Geheime sleutel:
restapi.settings.auth.custom=Klassenaam van eigen authenticatiefilter
restapi.settings.auth.custom.info=REST API-authenticatie wordt overgelaten aan een eigen filter, dat in een andere plugin is ge\u00EFmplementeerd.
restapi.settings.auth.custom.label=Klassenaam van filter:
restapi.settings.auth.custom.reload-note=Let op: het overschakelen naar of van een eigen authenticatiefilter zorgt ervoor dat de REST API-plugin opnieuw wordt geladen.
restapi.settings.allowedips.title=Toegestane IP-adressen
restapi.settings.allowedips.info=Voor extra beveiliging kunt u een lijst opgeven van IP-adressen die deze dienst mogen gebruiken. Een lege lijst betekent dat de dienst vanaf elke locatie benaderd kan worden. Adressen worden gescheiden door komma's.
restapi.settings.allowedips.label=Toegestane IP-adressen:
restapi.settings.allowedips.proxy-note=Let op: wanneer de REST API via een reverse proxy wordt benaderd, configureer Openfire dan om het doorgestuurde adres van de client te gebruiken, en om alleen uw eigen proxies te vertrouwen, op de pagina {0}Toegang tot de beheerconsole{1}.
restapi.settings.logging.title=Aanvullende logging
restapi.settings.logging.info=Indien ingeschakeld worden de bewerkingen die via de REST API worden uitgevoerd (zoals het aanmaken van een gebruiker of chatruimte) vastgelegd in het logbestand van Openfire, op INFO-niveau. Dit kan helpen bij het oplossen van problemen met koppelingen, maar vergroot de hoeveelheid logging.
restapi.settings.logging.enabled=Ingeschakeld
restapi.settings.logging.enabled.info=Logging ingeschakeld.
restapi.settings.logging.disabled=Uitgeschakeld
restapi.settings.logging.disabled.info=Logging uitgeschakeld.
Binary file removed src/web/images/error-16x16.gif
Binary file not shown.
Binary file removed src/web/images/success-16x16.gif
Binary file not shown.
Binary file removed src/web/images/warning-16x16.gif
Binary file not shown.
Loading
Loading