01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

About <strong>Oracle</strong>AS <strong>Reports</strong> Services Security<br />

user <strong>to</strong> gain access <strong>to</strong> <strong>the</strong> data source through <strong>the</strong>ir Single Sign-On identity<br />

without having <strong>to</strong> login separately. Second, it enables a single report URL <strong>to</strong> be<br />

used by many users because <strong>the</strong> data source login information is s<strong>to</strong>red with <strong>the</strong><br />

user’s identity and <strong>the</strong>refore does not have <strong>to</strong> be hard coded in<strong>to</strong> <strong>the</strong> report’s URL<br />

or a key mapping.<br />

■ In your report URLs or key mappings, you can code AUTHID and <strong>the</strong> necessary<br />

connection parameters (e.g., USERID) for your report. This functionality is much<br />

<strong>the</strong> same as it was in previous releases of <strong>Oracle</strong>AS <strong>Reports</strong> Services. For a<br />

complete discussion of URL syntax, refer <strong>to</strong> The <strong>Reports</strong> URL Syntax. For a<br />

complete discussion of key mapping, refer <strong>to</strong> Using a Key Map File.<br />

As with <strong>the</strong> o<strong>the</strong>r security areas, you might have your own mechanism for protecting<br />

data sources. In this case, <strong>Oracle</strong>AS <strong>Reports</strong> Services provides interfaces that allow you<br />

<strong>to</strong> integrate it with <strong>the</strong>se non-<strong>Oracle</strong> components.<br />

See Also: Configuring <strong>Oracle</strong>AS <strong>Reports</strong> Services Security<br />

For more information on <strong>the</strong>se interfaces.<br />

9.1.2 Authorization and Access Enforcement<br />

Access control for report requests can be maintained with or without <strong>Oracle</strong>AS Single<br />

Sign-On.<br />

■ Handling Report Requests with <strong>Oracle</strong>AS Single Sign-On<br />

■ Handling Report Requests without <strong>Oracle</strong>AS Single Sign-On<br />

9.1.2.1 Handling Report Requests with <strong>Oracle</strong>AS Single Sign-On<br />

<strong>Oracle</strong>AS Single Sign-On makes use of an encrypted cookie <strong>to</strong> track au<strong>the</strong>nticated<br />

application users. When rwservlet receives a request <strong>to</strong> execute a report on a<br />

secured <strong>Reports</strong> Server, it queries <strong>the</strong> <strong>Oracle</strong> HTTP Server (via <strong>the</strong> getRemoteUser call)<br />

<strong>to</strong> determine whe<strong>the</strong>r <strong>the</strong> user has already logged on through <strong>Oracle</strong>AS Single<br />

Sign-On (i.e., a Single Sign-On cookie exists for <strong>the</strong> user):<br />

■ If <strong>the</strong> user has logged on already (i.e., <strong>the</strong> cookie exists), <strong>the</strong>n rwservlet gets <strong>the</strong><br />

user’s identity from <strong>the</strong> <strong>Oracle</strong> HTTP Server.<br />

■ If <strong>the</strong> user has not logged on already (i.e., <strong>the</strong> cookie does not exist yet), <strong>the</strong>n <strong>the</strong><br />

<strong>Oracle</strong> HTTP Server redirects <strong>the</strong> user <strong>to</strong> <strong>Oracle</strong>AS Single Sign-On, which prompts<br />

<strong>the</strong> user <strong>to</strong> login. Once <strong>the</strong> user is au<strong>the</strong>nticated, <strong>the</strong> Single Sign-On cookie is<br />

created and <strong>the</strong> user is redirected back <strong>to</strong> rwservlet, which <strong>the</strong>n proceeds as<br />

described in <strong>the</strong> previous bullet item.<br />

Note: If <strong>the</strong> report request is launched from within <strong>Oracle</strong>AS<br />

Portal ra<strong>the</strong>r than rwservlet, <strong>Oracle</strong>AS <strong>Reports</strong> Services will<br />

similarly validate <strong>the</strong> user’s privileges on <strong>the</strong> report before running<br />

it. Even for unau<strong>the</strong>nticated (PUBLIC) users viewing public pages,<br />

<strong>Oracle</strong>AS <strong>Reports</strong> Services verifies that <strong>the</strong> PUBLIC user account<br />

has appropriate privileges on <strong>the</strong> report.<br />

9.1.2.1.1 Report Request Flow with Single Sign-On In this scenario, a report request is sent<br />

<strong>to</strong> a secured <strong>Reports</strong> Server with Single Sign-On enabled.<br />

1. If <strong>the</strong> report is <strong>to</strong> be run from within <strong>Oracle</strong>AS Portal, <strong>the</strong> user must be logged in<strong>to</strong><br />

<strong>Oracle</strong>AS Portal and, consequently, <strong>Oracle</strong>AS Single Sign-On. As part of its<br />

security, <strong>Oracle</strong>AS Portal validates that <strong>the</strong> user has <strong>the</strong> required security<br />

Securing <strong>Oracle</strong>AS <strong>Reports</strong> Services 9-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!