What's on my mind?
Manish Kapur's Weblog
Archives
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
Click me to subscribe
Search

Links
 

Today's Page Hits: 34

Main | Next page »
Friday Oct 23, 2009
Identity Manager and Password Policy Special Characters

This question has come up a couple of times so I thought I will write a quick blog about it. In Sun Identity Manager (IdM), the password policy can be setup with character type rules that apply to the policy. What is the list of Special Characters in the password policy?

The list of Special Characters that is used by IdM password policy is in the UserUIConfig object. You can look at this using /idm/debug page and find this list in Configuration->UserUIConfig object. There is a tag called <PolicySpecialChars> in this UserUIConfig Configuration object where these characters are defined.

Posted at 08:38PM Oct 23, 2009 by Manish Kapur in Sun  | 

Friday Aug 28, 2009
Sun Web Server: The Essential Guide

Check out the recently released book - "Sun Web Server: The Essential Guide". In my opinion, this book is a must have for all Sun Web Server administrators. Reading product documentation from docs.sun.com is always a good thing but in my view this can sometimes become somewhat monotonous when compared to reading a well written book that captivates and gets your attention. This Sun Web Server book has been carefully thought of and is very well written. It has concrete and easy to understand examples with good explanations about web server internals. Apart from web administrators, I think this book will also be useful for developers and architects interested in understanding Sun Web Server internals and extending the server functionality. So go ahead and check this book out, I bet you will like it!


Posted at 10:23AM Aug 28, 2009 by Manish Kapur in Sun  | 

Friday Aug 14, 2009
Logging Client IP Address instead of Load Balancer IP Address

If Sun Identity Manager version 8.1 is deployed with a Load Balancer or Reverse HTTP Proxy server in front of it and you need to log the IP address of the actual client in Audit logs then you need to configure Identity Manager (IdM) to pick the client IP address from the HTTP request headers. For example, if the Load Balancer sends the actual client IP address in the "X-Forwarded-For" HTTP request header then you would have to modify the IdM “Waveset.properties” file to make it read this header and log the client IP address from this header. To do this, edit the "Waveset.properties" file and set "client.headerIPVariable" as follows:

client.headerIPVariable=X-Forwarded-For

Save the “Waveset.properties” file and restart IdM server. Now when a user logs in to IdM, you should see the actual IP address of the actual client rather than the Load Balancer IP address being logged in IdM Audit logs. Some times the "X-Forwarded header" of an incoming HTTP request can contain multiple IP addresses like "<Client IP>, <Proxy IP>, <Load Balancer IP>". In this case, I noticed that IdM 8.1 logs all three IP addresses, which is nice.

Posted at 04:35PM Aug 14, 2009 by Manish Kapur in Sun  | 

Monday Aug 03, 2009
Integrating Sun Role Manager and IdM using SPML

I have come across many customers trying to integrate Sun Identity Manager (IdM) and Sun Role Manager (SRM) products and I thought this will be a good topic to write about. In an environment where Sun IdM is already deployed, Sun Role Manager (SRM) can connect to IdM using SPML interface and then it can be used to import user data. In such integration, Sun IdM and SRM need to be configured to allow using SPML as the way of exchanging provisioning information.

Here are the high level steps to configure this integration between SRM and IdM:
  1. Log in to SRM and navigate to Administration->Configuration->Provisioning Servers. Click on the New Provisioning Server Connection button and select Sun from the list.

  2. Enter the following information on "New Provisioning Server Connection" screen -
  3.  Connection Name - Enter a name for the new connection being created with the Sun IdM. This connection name is used during import process instead of the Host Name and Port, which is difficult to remember. e.g. "Sun IDM Connection"
     SPML URL - Here, SPML URL pattern is - http://host:port/idm/servlet/rpcrouter2
     e.g. http://localhost:8080/idm/servlet/rpcrouter2
        * User Name - “configurator”
        * Password - “**********”
        * Check Role Consumer if you want to enable ad-hoc roles transfer and update between SRM and Sun IdM

  4. Log in to Sun IdM as "configurator" and navigate to Configure->Import Exchange File and import "rm_idm_init.xml" and "spml.xml" files. The "rm_idm_init.xml" file can be obtained from SRM installation(look under $SRM_HOME/conf/spml directory). This completes the SRM-IdM integration configuration.

  5. To import users or accounts from Sun IDM, log in to SRM and navigate to Administration->Configuration->Import/Export Click on Schedule Job and Select the Sun IDM connection that was set up in step 2 and click on Next. You can check the "Run Job Now?" check box to trigger the user import job immediately. Or you can schedule the user import job on a future date. Similarly, you can import accounts by clicking on the Import Accounts link in the schedule job window.
Posted at 07:31PM Aug 03, 2009 by Manish Kapur in Sun  | 

Tuesday Jan 23, 2007
Web Server 7 unleashed

The all new Sun Java System Web Server 7.0 in standalone form has been released and is now available for download. This release features an entirely re-designed Administration interface designed around clusters, easy access to frequently performed tasks, simplification of frequently performed tasks, and a fully scriptable command line interface(CLI) featuring functional parity with the browser-based interface.

Here's my top 10 list of what's cool in this release:

For additional information, check out the Product Documentation. Download this release and send us your feedback. To discuss any features or if you have any questions, you can post to the web server forum.
Posted at 09:48AM Jan 23, 2007 by Manish Kapur in Sun  | 

Wednesday Nov 29, 2006
JDK US DST Timezone Update Tool -TZupdater

Java SE team has come out with the TZupdater tool some time back. This TZupdater tool is provided to allow the updating of installed JDK/JRE images with more recent timezone data in order to accommodate the U.S. 2007 daylight saving time changes (US2007DST) originating with the U.S. Energy Policy Act of 2005.
This tool is available now for download from the Sun Java SE download site.
For more information, check out the README file.
Note: This tool is currently a Beta release.
Posted at 08:45PM Nov 29, 2006 by Manish Kapur in Sun  | 

Sunday May 21, 2006
Thanks for attending JavaOne 2006

There is nothing quite like JavaOne conference, its one event that I look forward to every year. Thanks for stopping by at the Sun Java System Web Server booth last week at JavaOne. It was good talking and meeting you all. We received very encouraging feedback. For those who were not able to visit us at Booth 702, the Sun Java System Web Server 7 Technology Preview release is out now, and it's *free*. Check it out and send us your feedback!

JavaOne2006

Pavilion

Posted at 03:17PM May 21, 2006 by Manish Kapur in Sun  | 

Saturday May 13, 2006
PHP on Sun Java System Web Server 6.1

Joe McCabe has written an excellent article about using PHP on Sun Java System Web Server. The PHP engine can run with Web Server 6.1 as a CGI program, as a FastCGI server, or as a plugin using the Web Server's NSAPI and this article covers all this in great details.
Posted at 09:52PM May 13, 2006 by Manish Kapur in Sun  | 

Wednesday Sep 07, 2005
x64 Factor: Faster, Smarter, Simpler

The NC05Q3 Web Event is coming up on Monday, September 12, 2005.
Sign up for e-mail reminder and stay tuned for some big announcements about new x64-based systems!


Posted at 08:31PM Sep 07, 2005 by Manish Kapur in Sun  | 

Friday Aug 19, 2005
Installing TWiki on Sun Java System Web Server

I recently helped a customer migrate their TWiki setup. They were using TWiki on Apache Web Server and wanted to migrate to TWiki on Sun Java System Web Server running on Solaris 9.
The migration went through fine without any major hicups. Since the TWiki documentation does not discuss TWiki installation on Sun Java System Web Server, I thought of sharing the high level steps based on my experience.
Installation Steps:
- Install Revision Control System(RCS 5.7) from http://sunfreeware.com/ on Solaris 9
- Install GNU diff utilities(diffutils-2.8.1) from http://sunfreeware.com/ on Solaris 9
( The above two packages are needed for TWiki software to run)
- Ensure that you have Perl version 5.005_03 or higher(Solaris 9 by default ships with perl and it can be used by TWiki)
- Download Twiki Software(TWiki20040902.tar.gz - production release of 02 Sep 2004)
- Install Sun Java System Web Server 6.1sp4 on the Solaris 9 machine
- Install Twiki software by untarring it to doc_root of Web Server instance
- Enable CGI on the web server instance to be used for Twiki
- Configure the Twiki CFG files(setlib.cfg and TWiki.cfg) as per TWiki Docs
- Create a link to “sendmail” binary(using "ln") as "sendmail" on Solaris by default resides in /usr/lib directory
- Fix ownership/permissions issues of the Twiki install(if needed) to be same as the user id chosen during web server install.
- Edit the TWikiPreferences topic as discussed in TWiki Configuration docs.
- Enable htaccess on the instance (recommended but not mandatory)
- Test Twiki install using the "testenv" script provided by TWiki and fix the warnings if you see any.

That's it! Go to http://host.domainame/twiki/bin/view and start TWiki-ing away!

Posted at 09:12PM Aug 19, 2005 by Manish Kapur in Sun  | 

Sunday Aug 07, 2005
Software Solution and Support Services

Buying the best of breed software and a ton of hardware does not always guarantee the creation of a successful software solution. While it is important to choose the right software and hardware to meet the needs of your solution, there are other important factors that play a vital role in the creation of a successful solution. Among other things, the design of a software solution should be done considering availability, scalability, performance, security and integration of software modules. A successful software solution deployment is one that is carefully planned, architected, designed, implemented and backed up with comprehensive hardware and software support. Here at Sun, we have a full range of Solutions and Services offerings available to you. In fact, we have Solution Support Services that will help you in design, development, testing and production phases of the solution lifecycle. Using Solution Support Services will also help improve predictability by increasing availability, decreasing unplanned outages and maximizing efficiencies.

Posted at 09:01PM Aug 07, 2005 by Manish Kapur in Sun  | 

Friday Jul 01, 2005
JavaOne - SOA, and Bono's ONE Campaign

I could not get a chance to attend the technical sessions at JavaOne 2005 this time, but I did get a Pavillion Pass to assist with booth duty at Booth 900. Sun architected, built, tested and deployed a solution to enable Bono to call on his fans to join him in his fight against AIDS and poverty. An initiative called the ONE Campaign. This solution is being deployed in real time from the U2 concert venues. Dany is the chief architect and technical lead of all the work we've done with the ONE Campaign initaitive. This demo was built on the web infrastructure suite, Solaris 10 Operating System, and SunFire servers was deployed to create a pragmatic Service-Oriented Architecture (SOA) solution for Bono. You can check out Mary's blogs to know more about this solution.


Posted at 11:46PM Jul 01, 2005 by Manish Kapur in Sun  | 

Friday Jun 24, 2005
JavaOne 2005
Yes, I know most of us here at Sun have been blogging about 2005 JavaOne Conference, but believe me the excitement is in the air and we just can't just stop this wave of enthusiasm and exuberance. Its like the Power of Java has cast a magical spell on all of us. And why not? Its one of the world's largest gatherings of developers, and IT managers who are focused on Java technology. Its just a few more hours before the show begins, don't miss it, be there.

Posted at 08:18PM Jun 24, 2005 by Manish Kapur in Sun  | 

Monday Jun 13, 2005
New Web Proxy Server Release
Yeah, I know I've been slacking and I don't want to give excuses for being lazy in blogging. I will get straight to my topic. Sun released the all new Sun Java System Web Proxy Server 4.0 a few days back. The Sun Java™ System Web Proxy Server (formerly Sun ONE Web Proxy Server) is a powerful system for caching and filtering Web content as well as boosting network performance. Its a major upgrade release based on a modern HTTP core engine that is HTTP/1.1 compliant and suports IPv6 notation for IP addresses. For additional information, here's the Product Documentation. "Try and Buy" download is available here.
Posted at 05:34PM Jun 13, 2005 by Manish Kapur in Sun  | 

Thursday Oct 21, 2004
Free Web-based Solaris 10 overview course

The New Features of the Solaris 10 Operating System course provides students with an overview of the major new features in the Solaris 10 Operating System. And guess what, its free! Go for it!
Posted at 09:53PM Oct 21, 2004 by Manish Kapur in Sun  |