Oracle Access Manager Test Tool Example

OAM Test Tool
Integral Business Solutions, Inc.
A wholly-owned subsidiary of Distributed Information Technologies, Inc.
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
2|Page
Additional Topics
Table of contents
Table of contents .......................................................................................................................................... 2
1 Introduction .......................................................................................................................................... 3
2 Conventions .......................................................................................................................................... 3
2.1
OAM Test Tool .............................................................................................................................. 3
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
3|Page
Additional Topics
1
Introduction
This training document is provided by Integral Business Solutions, Inc.
2
Conventions
As a convention, text with a grey background and black border contains commands as they are seen
when using a standard SSH client interfacing with a server like so:
$ ls –l
In this example we are logged in as an unprivileged, or non-root user as noted by the $ in the prompt.
When an installation command needs to be run as root you will see a # as the prompt.
Whenever there is an important note about an installation sequence, or step a contextual note will be
added resembling the following:
Note: This is a note which is very important to read
These notes either precede commands, or directly follow them based on the situation.
2.1
OAM Test Tool
The OAM Java test tool is a valuable resource to test access to SSO agents defined in the OAM Console.
It is located in your OAM binary install location:
[oracle@lab-r2-001 tester]$ pwd
/u01/app/oracle/product/fmw/Oracle_IDM1/oam/server/tester
[oracle@lab-r2-001 tester]$ java -jar oamtest.jar
Make sure you have an X-server running on your local client, and make sure that you forward X11 through your SSH connection
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
4|Page
Additional Topics
Here is the OAM Test Tool gui:
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
5|Page
Additional Topics
IP Address: lab-r2-001.lab.go-integral.net (this is your OAM Server host)
Port: 5575 (this is the OAM Admin Port)
Mode: simple (in our OAM Server config – default Mode is open – requiring no password for the server communication)
Global Passphrase: xxxxxx (for simple mode configuration)
Agent Id: IAMR2Agent_11g (our SSO Agent)
Agent Password: xxxxxx (configured through OAM Console -> SSO Agent)
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
6|Page
Additional Topics
Connect
Protected Resource URI settings:
Host: lab-r2-001.lab.go-integral.net (this is the Web Tier (OHS) host)
Port: 8888 (this is the OHS port)
Resource: /app2.html (this can be any protected resource)
Validate
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
7|Page
Additional Topics
User Identity:
IP Address: lab-r2-001.lab.go-integral.net (OAM Test Tool host)
Username: hpotter (a valid LDAP user)
Password: xxxxxxxx
Authenticate
Then
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
8|Page
Additional Topics
Authorize
Note: Harry failed ‘Authorization’, because he does not have the buildingName=Northwest attribute
We’ll try again with a user who does – Fred Weasley (added later)
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com
9|Page
Additional Topics
Copyright © 2012-2013 ◊ Integral Business Solutions, Inc. ◊ All Rights Reserved
8011 34th Avenue South ◊ Suite 220 ◊ Bloomington, MN 55425 ◊ http://www.go-integral.com