Sunday Jun 29, 2008
*
Today's Page Hits: 300

Sunday Jun 29, 2008
The following tasks are described in this blog entry:
NOTE TO READER: If you see anything that isn't clear or is outright incorrect, don't hesitate to leave a comment. I'll try to straighten it out.I installed these two software pieces on a Solaris 10 SPARC machine. It doesn't matter much what operating system you install on as long as the system has a relatively new JDK version installed. I had JDK 1.5.
Tomcat 6.x1. Do NOT use Tomcat 6.0.16 as it does not work with OpenSSO Build 4 2. Increase JVM option -Xmx to 1024M |
Friday Jun 27, 2008
This agent was developed through the OpenSSO project.
Sunday Jun 22, 2008
This agent was developed through the OpenSSO project.
Still 2.2 agents are coming out even as Policy Agent 3.0 is all the rage. I'll add the links for the two following agents to my Documentation and Downloads page soon:
Thursday May 08, 2008
I recently updated my last entry, More About Configuring Policy Agent 3.0, saying that I would add an entry about the famadm utility. Yeah, so, that's what I'm doing now.
Much of this info comes from engineering folks: Dennis Seah, Hua Cui, and Sean Brydon.
As I mentioned in the update to my previous entry, info about setting up the famadm command line utility is provided on this Wiki page. Sean added that info, and while it has a Policy Agent 3.0 slant to it, much of the beginning steps that he describes relates to FAM 8, too, at least instructions describing how to make the famadm utility available.
OpenSSO is changing constantly, of course. Some changes even affect the famadm utility. Therefore, from build 4 to 5 (build 5 isn't out as of yet), a few differences will exist. For example, access to agents has changed in the FAM Console. In build 4, you access agents from the Configuration tab. In build 5, you access agents the way it was done in Access Manager: In the Access Control tab, you select a realm. Then you can access agents. How does this relate to the famadm utility? In build 4, when issuing famadm to create or configure an agent, it was not required to list an agent's realm. Now it is required. You can use -e or --realm for the realm argument, as such:
famadm update-agent --realm
famadm update-agent -e
Here's the famadm command with the list-servers subcommand:
famadm list-servers
With the required options, this command lists all server instances. Here is some usage info for this command:
Usage:
famadm list-servers
--adminid|-u
--password-file|-f
Issued from the directory containing the famadm utility, the command might look like either of the following two examples:
[root@localhost]# ./famadm list-servers --adminid amadmin --password-file /tmp/testpwd
[root@localhost]# ./famadm list-servers -u amadmin -f /tmp/testpwd
What Dennis pointed out to me was that you can enter the subcommand name of the famadm command, such as update-agent. To which, the response will be a list of options. First, here's a complete command issued from the directory containing the famadm utility:
[root@localhost]# ./famadm update-agent -e testRealm1 -b testAgent1 -u amadmin -f /tmp/testpwd -a "com.sun.identity.agents.config.locale=en_US"
Now, in the box below is the famadm command with the update-agent subcommand, also issued from the directory containing the famadm utility (notice that the options for this subcommand are provided and explained).
| [root@localhost]# ./famadm update-agent Incorrect option(s), famadm update-agent famadm update-agent --options [--global-options] Update agent configuration. Usage: famadm update-agent --realm|-e --agentname|-b --adminid|-u --password-file|-f [--set|-s] [--attributevalues|-a] [--datafile|-D] Global Options: --locale, -l Name of the locale to display the results. --debug, -d Run in debug mode. Results sent to the debug file. --verbose, -v Run in verbose mode. Results sent to standard output. Options: --realm, -e Name of realm. --agentname, -b Name of agent. --adminid, -u Administrator ID of running the command. --password-file, -f File name that contains password of administrator. --set, -s Set this flag to overwrite properties values. --attributevalues, -a properties e.g. homeaddress=here. --datafile, -D Name of file that contains properties. |
famadm update-agent
--realm|-e
--agentname|-b
--adminid|-u
--password-file|-f
[--set|-s]
[--attributevalues|-a]
[--datafile|-D]
We can tell that the update-agent subcommand requires the following arguments:
realm, agentname, adminid, password-file
The options bounded by square brackets are optional. However, you need to use either --attributevalues or --datafile to provide an attribute name and the corresponding value.
The following is an example of how to set the locale for a web agent by storing the property name and value in a data file:
[root@localhost]# ./famadm
update-agent
-e testRealm1 -b testAgent1 -u amadmin -f /tmp/pwd -D /tmp/testproperty
where the testproperty
datafile contains
the following text:
com.sun.identity.agents.config.locale=en_US
Updated 05/09/08 - I got some comments from developer Charles Wesley about this blog entry. I concluded that I should add one more section to it. Therefore, I've added the following section about wildcards:
When issuing the famadm
command, if you include attribute values that contain wildcards (e.g.
'*'), then the associated attribute name/value pair should be enclosed
in double quotes to avoid substitution by the shell.
This applies when you use the -a (or --attributevalues)argument. This isn't necessary when you list the attributes in a data file and access them with the -D argument. The following example demonstrates the use of double quotes while setting a J2EE attribute (Not Enforced URIs).
EXAMPLE :
[root@localhost]# ./famadm update-agent -e
testRealm1 -b testAgent1 -u amadmin -f /tmp/testpwd -a "com.sun.identity.agents.config.notenforced.uri[0]=/exampledir/public/*"
Sunday May 04, 2008
Michael blogged about Policy Agent 3.0 property configuration in the following entry:
Policy Agent Configuration with Agent 99
I have a few things I can share in this area:
Looking at the image above, you can see that you have the option while creating the profile to set the configuration to local or centralized.
There's a lot you can do with the CLI to configure agents. Here, I'm just focusing on configuring the agent properties. By the way, to create the agent, the command starts as follows:famadm create-agent. However, The examples below are for updating an agent after it's created.
Updated 05/05/08 - I found that the examples that were here yesterday were inaccurate. The new examples below should be correct. I'll add an entry about using the command line to configure agents. There's already some good info on it here: http://wikis.sun.com/display/OpenSSO/famadmAgents
Example 1: Below is an example of how to use the CLI to change the Agent Locale.
Example 2: Below is an example of how to use the CLI to change the FAM Login URL
./famadm update-agent -e testRealm1 -b testAgent1 -u amadmin -f
/tmp/testpwd -a "com.sun.identity.agents.config.login.url=
http://amHost.example.com:8080/opensso/UI/Login"
Anyway, whatever he actually said, he must have been pretty convincing because I've been working on that wiki page. Do you want to see it? Well, even if you don't, here's the link:
http://wikis.sun.com/display/OpenSSO/agent3properties
P.S. While I am a big fan of Get Smart, I have nothing to say about Agent 99 at this time. Sorry about that Chief.
Wednesday Mar 05, 2008
Most of the agents in the Policy Agent 2.2 software set have been updated to Policy Agent 2.2-01.
The 2.2-01 update is an accumulation of enhancements and fixes made in Policy Agent 2.2 since it was first released. Fixes and enhancements were made from time to time and released in what has been called hot patches. Some fixes were agent specific while other changes affected all web agents or all J2EE agents. Now all the hot patches are integrated into Policy Agent 2.2-01. In the 2.2-01 update section of the Release Notes, you'll find info about the key enhancements and fixes made. The following are a couple of the more extensive changes discussed:
As you can see in my "Sun
Java System Access Manager Policy
Agent 2.2 Documentation and Downloads" page, agents created in the OpenSSO project, as also listed below, have not yet been updated to Policy Agent 2.2-01 yet, but they will be soon:
Web Agents:
Agent for Sun Java System Web Server
7.0
Agent for Apache HTTP Server 2.2
J2EE Agents:
Agent for Sun Java System
Application Server 8.2/9.0/9.1
Agent for BEA WebLogic Server/Portal 10
So now you know about 2.2-01 or at least you know how to get info about it. Next stop, Policy Agent 3.0.
Sunday Mar 02, 2008
You can find links for Sun Java System Access Manager Policy Agent 2.2 for Microsoft Internet Information Services 5.0, both the download and the document, on my Policy Agent 2.2 Documentation and Downloads page.
The agent has been out for a little while now. I updated my Policy Agent 2.2 Documentation and Downloads page a few days back. I'm only posting an entry about it now because my dog ate the first blog entry about it. That's my story and I'm sticking to it.
Friday Feb 29, 2008
In the following blog entry, Policy Agent 2.2 With Access Manager 7.1, I compared Policy Agent 2.2 to marathon runner Derek Clayton because they both exemplify high endurance. Well, I have another similar comparison to make. This comparison has to do with Sun's Identity Management suite and Sun's attitude toward identity management in general.
First, let me give you a little Sun identity management background:
Sun Java Identity Manager continues to be the absolute power house in user provisioning: http://blogs.sun.com/ontherecord/entry/sun_positioned_in_leaders_quadrant
Moreover, Gartner has also just placed Sun in the Magic Quadrant for the web access management (WAM) market: Magic Quadrant for Web Access Management
That puts Sun in the leader's pack. However, with Federated Access Manager 8.0 coming out, including Policy Agent 3.0, Sun's is getting ready to break from the pack.
Okay, so given that background, if Sun's identity management suite were a runner, it would be this runner:
I'm talking about the leader in this photo. She's Paula Radcliffe, the British long distance runner. Her personal best in the marathon is the world record of 2 hours 15 minutes and 25 seconds. There are very few men in the U.S. today that could run that fast. The second fastest time by a women is more than three minutes slower than that.
Some years back, amongst the most elite, Paula was a middle of the pack runner. Her running form has even been criticized. She kind of bobbles her head when she runs. But she persevered. She analyzed everything about her diet and training and tried new things. Icing down her legs after a training run, weight training, physical therapy, shoes, clothing, you name it. She even looked at the bobble of her head before deciding not to tweak that particular aspect of her running form. Her improvement was slow and steady and she kept tweaking things here and there until she became best of the best. Still, she's had disappointments. She doesn't win every single race she enters. She was struggling during the 2004 Olympics and dropped out at around the 23 mile mark. Recently, she had a baby and tried to come back real quick but found that she had to take her time. She seems to be back in form, though, winning the New York Marathon in 2007. She'll be competing in the 2008 Olympics in Beijing. Her future is looking bright. So, yeah, Sun's identity management suite is a bit like that.
Sun's commitment to identity management has been clear to me in a visceral sense for years. However, I never could articulate that importance until about a year back. I was reading the white paper Positioning Federated Identity For The UK Government by Sun's very own Robin Wilton, when suddenly there it was:
Sun's vision and the role of identity |
| Sun is known for its original corporate vision that “the network is the computer”, a vision since supplemented with the idea of “everything of value connected to the network”. There is a strong technological dimension to Sun's vision statements - but they are also important for what they imply about identity, authentication, authorisation, access control, trust and privacy. The more we assume that everything of value is connected to the network, the more vital it is that identity, appropriate access and online trust form the foundations of online service provision. |
I couldn't have said it better myself. And trust me, I tried. That's it. That's why Sun must succeed in the identity management space. I would say the importance of identity management to Sun is something along these lines:
By hook or by crook, through hell and high water, Sun absolutely, positively must ensure that the identity management available for Sun systems is top notch, best of breed, as good as it gets. Sun's very survival depends on it.
It's an attitude. I imagine that Paula Radcliffe feels driven in a similar fashion. Her very survival isn't at risk, and yet her status as the greatest female runner in the world is. So, in such a situation, you search for what works and you do it. For Sun, it means embracing open source and embracing non-Sun platforms, R&D, acquisitions, blood, sweat, and tears: experiment, tweak, pay attention, analyze, repeat. You don't win them all, but you always keep a can-win attitude, and you learn. Then you go back to the drawing board: experiment, tweak, pay attention, analyze, repeat.
When it comes to web access management, Sun has been very attentive to the market and is incorporating big changes in Federated Access Manager 8.0 and Policy Agent 3.0.
Daniel Raskin explained a great deal of this in two blog entries about the FAM 8 roadmap back in September:
Especially since Access Manager and Federation Manager are being combined in FAM 8, there's a huge emphasis on simplifying the customer experience. I write Policy Agent documentation, and Policy Agent 3.0 is the new version of Policy Agent that coincides with FAM 8. The big, big thing here is that FAM 8 provides centralized agent management with Policy Agent 3.0. This is huge. Customers have had to manage agents one at a time in the deployment container. Still Sun has had a very competitive product. With centralized agent management, Sun is really charging forward. Just saying "centralized agent management" is not enough to explain all the effort going into the agents to make them simpler to manage in so many ways. In time, you will see many things about Policy Agent 3.0 to be happy about. For now, here are a couple links to help you monitor what's going on with Policy Agent 3.0:
That first link above provides a lot of info, including some installation information.In the Paula Radcliffe analogy, at this time, Sun is running amongst the front runners of the elite pack and is starting to focus on key factors that will launch it out to the very front with room to spare. Therefore, I'd say that in the identity
management space, Sun hasn't yet run it's 2 hour 15 minute and 25
second marathon, but it's coming up real soon. Just as I wouldn't bet
against Paula Radcliffe in Beijing in 2008, I wouldn't bet against Sun
in the identity management space, in fact all indications are that
Sun's the endurance athlete to beat in this race.
Monday Jan 07, 2008
If you have a comment or a question,
docs.sun.com (DSC) gives you a
direct link to the writers of Sun documentation.
To comment on a particular document, while looking at the document online (on DSC), click Send Comments (see "1" in
the graphic below). This is the preferred method in most cases. However, for general comments, you can use the Submit panel at the bottom of the DSC page (see "2" in the graphic below). In all cases, please be as specific and detailed in your
comments as possible.
The information provided by DSC
visitors is often quite useful to the writer and is very much
appreciated. If you find that the documentation is incorrect or just
confusing, please let us know. Currently, the process is not fully
automated, so the author might not
see the comment for a while.
Thursday Jan 03, 2008
What's spurring this blog entry is a couple of issues that have come up with Policy Agent 2.2 for Sun Java System Application Server 8.2/9.0/9.1 as such:
The second point comes up from time to time in different ways. For example, it came up in this forum posting:
http://forum.java.sun.com/thread.jspa?forumID=760&threadID=5201914
Anyway, the documentation for this agent states that you cannot install this agent and Access Manager on the same Application Server 8.2/9.0/9.1 instance, as such:
http://docs.sun.com/app/docs/doc/820-2539/gbbir?a=view
However, this point is often missed. For example, I'm assuming that this issue was missed when someone sent a query to the docs.sun.com website. The question was about the following property:
com.sun.identity.agents.config.location
The property allows a J2EE agent to coexist with Access Manager on the same application server. This option does not apply to Policy Agent 2.2 for Sun Java System Application Server 8.2/9.0/9.1. Therefore, the property is not mentioned in Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Application Server 8.2/9.0/9.1.
I bring this up here because this second point gets missed pretty often. I figure that somehow the documentation isn't clear enough. So, I want to add this info here to try to make it more clear.
By the way, I should say something about how you can send comments to us technical writers when you are looking at documents on docs.sun.com. The question that I talk about above about the com.sun.identity.agents.config.location property was sent directly to docs.sun.com and eventually forwarded to me. Okay, it's decided then. In my next entry, I'll talk about how you can get comments to the writer of a document that you are reading on docs.sun.com.
Wednesday Jan 02, 2008
A lot has been happening with Sun Java System Access Manager Policy Agent these days. In fact, I've updated the following page to reflect some of those changes:
Key things that have happened are as follows:
A New Agent:
IBM Webshere Application Server 6.1
New Platform Support for Existing Agents:
A Policy Agent 2.2 Update:
Policy Agent 2.2-01 for web agents
In the near future, I'll post more information about the agents. For example, I'll go into more detail about the 2.2-01 release. Also, I'll start talking about the next version of Policy Agent, Policy Agent 3.0.
Wednesday Nov 21, 2007
docs.sun.com (dsc): A document repository barely alive. We can rebuild it. We have the technology. We can make it better than it was. Better...stronger...faster.
We can, we did! I say "we," even though I didn't have anything to do with it, just trying to show my community frame of mind.
Check out http://docs.sun.com and see if it isn't faster and more searchable than ever. If you're familiar with dsc, you know it has been slow and difficult to navigate and search. Then, for a short period of time, it got better. Then, it got worse again. Now, it's good again, great in fact.
I brought in a crack team of scientist to fix the problem. I say "I" even though I didn't have anything to do with it. I also say "brought in" even though nobody was brought in. As I understand it, after dsc was improved, a new problem quickly arose that was causing poor performance. The dsc folks investigated thoroughly, found, and then fixed the problem. I could tell you what the problem was, but then I'd have to bore you into a coma with the details. I'd also need to understand what they did. Suffice to say, look for documents on http://docs.sun.com and tell me if it isn't better than before.
Wednesday Nov 07, 2007
This agent was developed through the OpenSSO project.
By the way, here's a link to the Apache HTTP Server Version 2.2 Documentation, brought to you by the Apache Software Foundation. I don't know. I happened to be out there looking at that site, so I thought, "Hey, why not include a link to that documentation?" It's just the kind of guy I am.
Sincerely,
Me