Skip to content
View in the app

A better way to browse. Learn more.

Jaspersoft Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
This documentation is an older version of JasperReports Server Web Services Guide. View the latest documentation.

JasperReports Server 4.7 introduced the ability to encrypt plain-text passwords over non-secure HTTP. Encryption does not make passwords more secure, it only prevents them from being readable to humans. For more information about security and how to enable login encryption, see the JasperReports Server Administrator Guide.

When login encryption is enabled, passwords in both HTTP Basic Authentication and using the login service must be encrypted by the client. Login encryption has two modes:

Static key encryption – The server only uses one key that never changes. The client only needs to encrypt the password once and can use it for every web service call.
Dynamic key encryption – The server changes the encryption key for every session. The client must request the new key and re-encrypt the password before every call using HTTP Basic Authentication or every session using the login service.

The GetEncryptionKey service does not take any arguments or content input.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/GetEncryptionKey/

Return Value on Success

Typical Return Values on Failure

200 OK – Body contains a JSON representation of public key:

200 OK – Body contains {Error: Key generation is off}

To encrypt a password with the server’s public key, use the Bouncy Castle provider with the RSA/NONE/NoPadding algorithm.

User Feedback

Recommended Comments

There are no comments to display.



Guest
This is now closed for further comments

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.