1. Configure login encryption
as described in the JasperReports Server Administrator Guide. Specify static
key encryption by setting encryption.dynamic.key to false and configure the
keystore as described.

2. Once the
server is restarted, log into the server to generate the static key.

3. Open the
following URL: http://example.com:8080/jasperserver/encrypt.html.

4. Enter the
password that you want to encrypt, for example joeuser, then click Encrypt. The
script on this page will use the public key to encrypt the password.

5. Paste the
encrypted password into the URL instead of the plain text password (log out of
the server to test this):

terça-feira, 10 de maio de 2016

SELECT extract(YEAR FROM SYSDATE) AS ano,
extract(MONTH FROM SYSDATE) AS mes,
extract(DAY FROM SYSDATE) AS dia,
EXTRACT(HOUR FROM NUMTODSINTERVAL(SYSDATE - trunc(SYSDATE), 'DAY')) AS hora,
extract(minute FROM systimestamp) AS minuto,
trunc(extract(SECOND FROM systimestamp)) AS segundo,
SYSDATE AS data_hora
FROM dual;