File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » Security
Bookmark "A complex setup" Watch "A complex setup" New topic
Author

A complex setup

Kannan Sundararaj
Greenhorn

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: http://aspose.com/file-tools
 
subject: A complex setup