This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Security and the fly likes A complex setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "A complex setup" Watch "A complex setup" New topic

A complex setup

Kannan Sundararaj

Joined: Dec 28, 2010
Posts: 2
Hi All

We have a few applications which are connected to Oracle Identity Manager for the SSO purpose. Users are given certificate and then a user name and password to log in into any one of the application. Currently we are setting up a dashboard kind of web application for knowing the status of one of the application which participates in the SSO

The following are expected in the dashboard
a. Check whether the home page is available or not.
b. Check whether the user is able to sign in using both his certificate and username/password.
c. Check whether the application is able to fetch data from database thereby checking the status of database server
d. Check whether the application is able to fetch a document( which is a major functionality) thereby checking the status of another server.

I am able to implement the point a using HttpURLConnection class where by i am able to get the log in page as the response ..with lot of html tags..
How do i implement the second point (point b)?

I do have a certificate which i got from the admin, where by i use the certificate to log in into the web application using a browser.
Now i need to simulate the same thing using java.

Also the Oracle Identity Manager runs in a server, the application runs in another server. When i hit an URL which is of the applications' it asks for username/password validated by the Oracle Identity Manager, and then redirected by the OIM to the application once again where by i can work on the application.
I agree. Here's the link:
subject: A complex setup
jQuery in Action, 3rd edition