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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

The authid cookies are terminated when <strong>the</strong> user closes <strong>the</strong>ir browser session, but<br />

you should not rely strictly on this method of terminating <strong>the</strong> cookie. You should limit<br />

<strong>the</strong> lifetime of <strong>the</strong> cookie within a given session. For example, a user might log on and<br />

<strong>the</strong>n go <strong>to</strong> lunch, leaving <strong>the</strong> browser session open. To minimize <strong>the</strong> potential for a<br />

security breach in this situation, <strong>the</strong> administra<strong>to</strong>r may specify <strong>the</strong> COOKIEEXPIRE<br />

parameter in <strong>the</strong> rwservlet.properties file. When rwservlet receives a job<br />

request, it compares <strong>the</strong> time saved in <strong>the</strong> cookie with <strong>the</strong> current system time. If <strong>the</strong><br />

time is longer than <strong>the</strong> number of minutes defined in <strong>the</strong> environment variable (e.g., 30<br />

minutes), <strong>the</strong> cookie is rejected and <strong>the</strong> user is challenged <strong>to</strong> provide au<strong>the</strong>ntication<br />

information.<br />

See Also: Configuring <strong>the</strong> <strong>Reports</strong> Servlet<br />

For more information about <strong>the</strong> COOKIEEXPIRE parameter and <strong>the</strong><br />

rwservlet.properties file.<br />

9.1.2.2.1 Report Request Flow without <strong>Oracle</strong>AS Single Sign-On In this scenario, <strong>the</strong> report<br />

request is sent <strong>to</strong> a secured <strong>Reports</strong> Server with Single Sign-On disabled. In this case,<br />

rwservlet or a JSP report might be called through <strong>the</strong> use of a bookmark or from an<br />

<strong>Oracle</strong>AS Portal component.<br />

1. The user must somehow gain access <strong>to</strong> <strong>the</strong> URL that launches <strong>the</strong> report request<br />

(e.g., via a link on a <strong>Web</strong> page or a bookmark), and choose <strong>the</strong> URL.<br />

2. rwservlet checks for <strong>the</strong> AUTHID parameter on <strong>the</strong> URL or an existing <strong>Oracle</strong><br />

<strong>Reports</strong> Authid Cookie. If it finds <strong>the</strong> AUTHID parameter, it uses that <strong>to</strong><br />

au<strong>the</strong>nticate <strong>the</strong> user. If it does not find <strong>the</strong> AUTHID parameter, it looks for an<br />

existing <strong>Reports</strong> Authid Cookie. (If <strong>the</strong> report is launched from <strong>Oracle</strong>AS Portal,<br />

AUTHID is added <strong>to</strong> <strong>the</strong> URL au<strong>to</strong>matically.) If nei<strong>the</strong>r AUTHID nor a <strong>Reports</strong><br />

Authid Cookie is found, rwservlet displays <strong>the</strong> System Au<strong>the</strong>ntication screen,<br />

where <strong>the</strong> user must supply <strong>the</strong>ir Single Sign-On username and password. This<br />

information is subsequently s<strong>to</strong>red in <strong>the</strong> <strong>Reports</strong> Authid Cookie.<br />

3. If only partial data source credentials are provided on <strong>the</strong> URL (e.g.,<br />

USERID=scott@orqa), <strong>the</strong> Database Au<strong>the</strong>ntication page is displayed with <strong>the</strong><br />

partial credentials priming <strong>the</strong> fields. The user must supply <strong>the</strong> remainder of <strong>the</strong><br />

data source credentials before proceeding fur<strong>the</strong>r. Note that you can control which<br />

Database Au<strong>the</strong>ntication page is used via <strong>the</strong> DBAUTH parameter in <strong>the</strong><br />

rwservlet.properties file. If no data source credentials at all are provided,<br />

<strong>the</strong> Database Au<strong>the</strong>ntication page is not displayed and it is assumed <strong>the</strong> report<br />

does not require a data source.<br />

See Also: Configuring <strong>the</strong> <strong>Reports</strong> Servlet<br />

For more information about <strong>the</strong> DBAUTH parameter and <strong>the</strong><br />

rwservlet.properties file.<br />

4. rwservlet constructs a command line with <strong>the</strong> necessary information from <strong>the</strong><br />

previous steps and passes it <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server.<br />

5. The <strong>Reports</strong> Server validates <strong>the</strong> user credentials against <strong>the</strong> <strong>Oracle</strong> Internet<br />

Direc<strong>to</strong>ry. It also checks whe<strong>the</strong>r <strong>the</strong> user has <strong>the</strong> necessary privileges <strong>to</strong> run <strong>the</strong><br />

report on <strong>the</strong> specified server at <strong>the</strong> specified time <strong>to</strong> <strong>the</strong> specified destination. If<br />

<strong>the</strong> validation check fails for any reason, <strong>the</strong>n an error condition is returned <strong>to</strong> <strong>the</strong><br />

user and <strong>the</strong> process terminates.<br />

6. The data source credentials are s<strong>to</strong>red in a <strong>Reports</strong> Userid Cookie for possible<br />

future reference. Note that Pluggable Data Source credentials are not s<strong>to</strong>red in <strong>the</strong><br />

<strong>Reports</strong> Userid Cookies.<br />

9-6 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

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

Saved successfully!

Ooh no, something went wrong!