Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

opensso and tomcat

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

any one please tell me briefly how can i protect my web applications deployed in tomcat with openam?

1. I mean what are the things i need to download.
2. steps to proceed with setup.

I have gone through the document but could not understand clearly.

Rgds
James
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is "openam"? Did you mean OpenSSO? If so, doesn't OpenSSO come with installation and usage instructions? Where, exactly, are you stuck?
 
James Peter
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I mean OpenSSO. Now it is OpenAM. Online instructions are there but I am not able to get them clearly.

My basic questions are
do we need to use apache http server to use openam with tomcat?
what are the locations in which we need to install policy agents?
what is the difference between a web agent and j2ee policy agent?
do i need separate instances of tomcat for installing opensso and to install policy agent?

In the document instructions are following Glass Fish application server. So I am not clear how to do with tomcat.




 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apache httpd is not needed.

https://wikis.forgerock.org/confluence/display/openam/Deploy+OpenAM has installation instructions for Tomcat.
 
James Peter
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friend,

I have gone through that document installed openam also.
I stuck at installing j2ee policy agent.

https://wikis.forgerock.org/confluence/display/openam/Installing+Tomcat+6.0+Policy+Agent

in the above url instructions are like below

Create the Agent Profile

* Log into OpenAM as amadmin
* Go into Access Control -> Realm -> Profiles -> J2EE Profiles
* Create a new Profile** Click on the ‘New’ button
o Give the Agent Profile a name (remember this, as it is important)
o Type in the password, ensuring that it is the same as was used for the password file
o Type the full URL of the OpenAM server into the Server URL field
o Type the full URL of the server hosting the agent in the Agent URL field.
o Click Create

now my doubts are

1. there is another tab with name "web" along with "j2ee". access control->realms -> agents -> web in the admin console of openam. if i want to protect my web applications in tomcat , which one i need to select web or j2ee?

2. In above instructions it is asking to enter Type the full URL of the server hosting the agent in the Agent URL field.

which server and which agents it is talking about. I haven't installed any agent yet. then how can i give server name and agent url?


 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic