Tuesday, July 08, 2008

Oracle AS 10.1.2 Logout using Dynamic Directives

You can log out a user from Oracle AS 10.1.2,by using these two dynamic directives :-

response.setHeader("Osso-Return-Url", "/Your_Application_Home_page");
response.setError(499, "Oracle SSO");


The first dynamic directive informs the Oracle AS Single Sign On Server about the page that needs to be displayed after logout.

The second dynamic directive informs the Oracle AS Single Sign On Server that the user needs to be logged out immediately.

The two dynamic directives need to be used together. If the first one is left out, the SSO Server simply redirects the user to the Oracle Application Server Home Page on which the application is deployed.

No comments: