Single Sign-On With CA SiteMinder For Sample Web Application

2y ago
6 Views
3 Downloads
781.14 KB
18 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Angela Sonnier
Transcription

2013IBM SINGLE SIGN-ONWITH CA SITEMINDERFOR SAMPLE WEBAPPLICATIONSantosh Manakdass & Syed MoinudeenThis article describes how to configure any Web Application for Single Sign-On with SiteMinder. Thisarticle assumes that readers have basic knowledge on Single Sign-On and familiar with SiteMinder.This article assumes the required software i.e. WAS, SiteMinder Policy server , SiteMinderAdministrative UI , Apache as Proxy server are installed.Santosh ManakdassSayedMoinuddinAbout the authors: Working as a developer for Atlas team under ECM.Their daily work involves in developing and fixing defects for our productinvolving areas like Java, JavaScript, JSF, Gwt, Oracle etc. Reach out tothem at samanakd@in.ibm.com, syed.moinudeen@in.ibm.com

2 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONIntroductionSiteMinder provides policy-based authentication as well as single sign-on for all Webbased applications. SiteMinder configuration is very complex which involves SiteMinderPolicy Server, Web Agents, Proxy Server, SiteMinder Administration UI consoleconfigurations etc. We can find many resources in web which gives details on SiteMinderconfiguration but not completely and that those do not work as expected. We are writingcomplete steps of configuring a sample Web Application i.e., Snoop, which comesdeployed with IBM WAS.Many of the readers who use Single Sign-On using CA SiteMinder can begin with ourarticle as we mention each and every step from scratch. Many times audience may missout simple configurations and get stuck. Our article will help the beginners with each andevery step to know how to configure Single Sign-On with SiteMinder for sampleapplication.NOTE1: The article was developed using WAS 7.0, SiteMinder Policy server v12,SiteMinder Administrative UI v12, Apache 2.2 as Proxy server.NOTE2: Apache HTTP server is registered product of The Apache Software Foundation.SiteMinder software are registered product of CA Site Minder.OverviewSiteMinder Interaction with a Web ApplicationBelow Diagram gives a Sequence Diagram of the interaction of Client with any WebApplication involving SiteMinder.

3 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 1: Sequence Diagram of the interaction of Client with any Web Applicationinvolving SiteMinderConfigurations required for any Web Application for SingleSign-On with SiteMinderWe will be using the basic sample application i.e., Snoop, which comes deployed withIBM Websphere Application Server to show how to configure any web application forSingle Sign-On with SiteMinder.The following are the configurations needed:1. SiteMinder Policy Server Configurations2. Proxy Server Configurations3. Websphere Application Server ConfigurationsSiteMinder Policy Server ConfigurationsInstalled the SiteMinder Policy Server software and configured SiteMinder Policy Storeusing Oracle DB.

4 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONThe following configurations are needed in SiteMinder Administrative console i.e. Policyserver web Interface.1. Create agent for proxy server. As for example: proxy agent.Select Supports 4.x agents check box and enter IP address of SiteMinderPolicy server under Trust Settings.Figure 2 : Agent created for proxy server2. Similarly, create an agent for Snoop. For example: snoop agent.

5 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 3 : Agent for Snoop server3. Create Host configuration object for proxy server say proxy host.For PolicyServer parameter, enter IP Address of SiteMinder PolicyServer asvalue.Figure 4 : Host Configuration object for proxy server4. Similarly, Create Host configuration object for snoop server say snoop host.

6 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 5: Host Configuration object for snoop server5. Create Agent configuration objects for reverse proxy say proxy agentconfig.Add or edit the following parameter values: CookieDomain: Enter the Active Directory domain in which you arerunning, including a leading period (for example, p8.ibm.com). CookieProvider: Edit the #CookieProvider entry, delete the leading #character, and add the URL for the proxy server (for example,http:// IP Address of proxyserver :80/SmMakeCookie.ccc). DefaultAgentName: Edit the #DefaultAgentName entry, delete the leading# character, and add the name of the Web agent on the proxy servercreated above (for example, proxy agent). LogAppend: Set value to yes. LogFileName: Enter the name of the log file on the proxy server (forexample, C:\Program Files\Apache Group\Apache2\logs\WebAgent.log). LogFileSize: Set value to 10. LogLevel: Set value to 15. Logfile: Set value to yes. PreservePostData: Set value to no. ProxyAgent: Set value to yes. ProxyTrust: Set value to no. SecureApps: Edit the #SecureApps entry, delete the leading # character,and set the value to no. TraceConfigFile: Enter the name of the trace configuration file (forexample, C:\Program Files\CA\webagent\config\WebAgentTrace.conf). TraceFile: Set value to yes.

7 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATION TraceFileName: Enter the name of the trace output file (for example,C:\Program Files\Apache Group\Apache2\logs\WebAgentTrace.log). TranscientIPCheck: Set value to yes. PersistentIPCheck : Set value to yes.6. Similarly, Create Agent configuration objects for snoop say snoop agentconfig.Add or edit the following parameter values: DefaultAgentName: Edit the #DefaultAgentName entry, delete theleading # character, and enter the name of the ASA Agent on the snoopserver created above (for example, snoop agent). LogAppend: Set value to yes. LogFileName: Enter the name of the log file on the snoop server(for example, C:\Program gs\AppServerAgent.log). LogFileSize: Set value to 10. LogLevel: Set value to 15. Logfile: Set value to yes. ProxyTrust: Set value to no. ChallengeForCredentials: Set value to yes. AssertionAuthResource: Set value to /siteminderassertion RmiAuthResource: Set value to /siteminderrmirealm SystemAuthResource: Set value to /sitemindersystemrealm BadUrlChars: leave default value.7. Configure the User Directory. Say user dirHere, specify the details on the LDAP User directory whose members will beallowed to access the Application.

8 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 6: Creation of user Directory8. Create the SiteMinder domain say ssosm domain.In the Users Directories tab, select the name of the user directory created above(for example, user dir).Figure 7 : Creation of SiteMinder Domain

9 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATION9. Create the primary realm for the reverse proxy under the Domain i.e.ssosm domain created above say proxy realm.Figure 8: Creation of Realm for proxy server10. Create a rule say Get as shown below under the reverse proxy server realm i.e.proxy realm.

10 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 9 : Rule for proxy realm11. Create the snoop realm for the snoop server, say snoop realm under Domaincreated above as shown below.

11 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 10: Creation of Realm for snoop server12. Create a rule for the snoop realm Realm created above say snoop Get.

12 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 11: Rule for snoop realm13. Create a Policy for the reverse proxy server say proxy policy under Domaincreated above. Add the Available Members list for the group name shown below:

13 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 12a: Creation of Policy for proxy serverAdd the Get rule created above under Rules tab as shown below.Figure 12b: Creation of Policy for proxy server14. Create a Policy for the snoop server say snoop policy under Domain createdabove. Add the Available Members list for the group name as shown below:

14 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 13a: Creation of Policy for snoop serverAdd the snoop rule created above under Rules tab as shown below.Figure 13b: Creation of Policy for proxy serverProxy Server ConfigurationsThe following configurations are needed in Reverse Proxy Server:1. Install Apache HTTP server.2. Configure the Apache HTTP server for reverse proxy mode. Open the file httpd.conf located inC:\Program Files\Apache Group\Apache2\conf Uncomment the following lines in the LoadModule section:LoadModule headers module modules/mod headers.soLoadModule proxy module modules/mod proxy.so

15 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONLoadModule proxy http module modules/mod proxy http.so Add the following lines at the end of the file:### Proxy configurationProxyRequests Off Proxy http:// proxy server name /snoop* Order deny, allowAllow from all /Proxy Location /snoop ProxyPasshttp:// snoop server name :port/snoopProxyPassReverse http:// snoop server name :port/snoop /Location Restart the Apache HTTP service.3. Install the SiteMinder web agent.4. Configure the SiteMinder web agent as given in SiteMinder documentation.5. Enable the Web Agent. Open the file WebAgent.conf located at;C:\Program Files\Apache Group\Apache2\conf Change the value of the AgentConfigObject "proxy agentconfig" i.e. theagent configuration object created for proxy server above. Change the value of the EnableWebAgent property to YES. Save and close the file. Restart Apache HTTP Server service.WebSphere Application Server ConfigurationsIn this section, we configure WebSphere Application Server (version 7.0 is used in thisarticle) to work with the SiteMinder Application Server Agent.NOTE: Snoop server refers to the server where the Web Application is deployed.The following configurations are needed in snoop Server:1. Patch WebSphere JCE Security Policy files.2. Set PATH and JAVA HOME to Websphere JRE.3. Define JVM system variables in Websphere as shown below.Restart Websphere.

16 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 14: Configure JVM system variables4. Install Siteminder Application server agent for Websphere at InstallationDirectory,C:\smwasasa.Note: While installing above Siteminder Application server agent for WebsphereEnter host configuration object as snoop host and agent configuration object assnoop agentconfig created above.5. Stop Websphere. Configure the SiteMinder logging class loader.Move the files smlogger.jar and log4j.jar from:C:\Program Files\IBM\WebSphere\AppServer\lib\ext to:C:\smwasasa\lib (Create the directory if does not exist.)6. Copy the SiteMinder Agent properties file.Copy the smagent.properties file from: C:\smwasasa\conf to:C:\Program opertiesStart WebSphere.7. Set required LDAP Configuration.

17 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATIONFigure 15: Configure Global securitywindevintWAS is the hostname of the Domain Controller.8. Enable single sign-on option.Select Security Secure administration, applications, and infrastructure.Select Web Security single sign-on (SSO). Check Enabled check box.9. Enable the Trust Association option. Select Security Secure administration, applications, and infrastructure. Select the Web Security Trust association link. Check the Enable trust association check box. Click Interceptors. Click New

18 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATION Enter ociationInterceptorin the Interceptor class name field. Click Apply. Click Save.Test the Application after configuring Single Sing-on using SiteMinder1. Enter the following url in your browser.http:// proxy server name /snoop/Figure 16: Testing the Application2. Enter the logon credentials of the user who belongs to the group added aboveunder the policy i.e proxy policy above in the Siteminder Policy ServerAdministrative console.Resources Further configuration on filtering the resources and controlled security access onthe Application refer to the SiteMinder documentation r%20r12%20SP3ENU/Bookshelf.html

3 IBM SINGLE SIGN-ON WITH CA SITEMINDER FOR SAMPLE WEB APPLICATION Figure 1: Sequence Diagram of the interaction of Client with any Web Application involving SiteMinder Configurations required for any Web Application for Single Sign-On with SiteMinder We will be using the basic

Related Documents:

Tin Sign: Allis Chalmers Farm Tractor Sign TD1134 MSRP 12.95 Tin Sign: 1956 John Deere sign TD670 MSRP 12.95 Tin Sign: Allis Chalmers farm tractor sign TD1133 MSRP 12.95 Tin Sign: IH Farm Tractor Sign TD1279 MSRP 12.95 Farm Tractor w/ Trailer (Asstd.) 321/4 MSRP 120.00 RC2 ERTL John D

AWS Single Sign-On User Guide AWS SSO features What is AWS Single Sign-On? AWS Single Sign-On is a cloud-based single sign-on (SSO) service that makes it easy to centrally manage SSO access to all of your AWS accounts and cloud applications. Specifically, it helps you manage SSO

IBM Software Data Sheet By providing integrated single sign-on and access management capabilities, IBM Security Access Manager for Enterprise Single Sign-On addresses these needs and more. Security Access Manager for Enterprise Single Sign-On combines single sign-on, strong two-factor authentication, session management,

street name sign - street name sign on double support post street name sign - street name sign on single support post street name sign - general configuration layout (sheet 3 of 3) street name sign - general configuration layout (sheet 2 of 3) street name sign - general configuration layout (sheet 1 of 3) cycling path cycling track lighting .

sign industry By R eg a n Dickinson 20 February 2013 SIGN & DIGITAL GRAPHICS The new 75-foot tall st. Petersburg sign built by Thomas sign & awning and internally lit with the beB-rite induction sign Lighter pulls only 38 amps to light it, says kevin Hunsicker, national programs director for Thomas sign & awning. SBFEB.indd 20 1/16/13 2 .

EQUIPMENT DESCRIPTION SIGN EXTERIOR 8EZVIEW X MODULAR CASE 20MM AND 23MM PITCH SIGN INSTALLATION MANUAL (PN 1709610101 REV.A) Top, side, and rear views Figure 2. External views of a sign with multiple case's, other sizes are similar. Item Name Description A SIGN SUB-STRUCTURE The 2"x 3" x 0.14" steel angle along the back of the sign (top and bottom) is used to install the sign.

Prohibited sign types Permitted sign types Time, place and manner limits that apply to the permitted sign types -Area, height, setbacks, number, lighting, spacing -Prohibitions or special rules for new billboards Sign types that are exempt from permitting (or regulation altogether) Sign permit procedures

1. Cloud-based Single Sign-On Software As we all know, one of the major reasons to choose Single Sign-On as a solution is to ensure that your users get instant access to all the applications they need, with one single click. This means that the vendor should have native support for multiple applications failing which giving Single Sign-On