[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam
Subject: [OpenAM] Problem in Password Capture Configuration - OpenIG gateway guide-8.3.3
From: wasim.raza () pyramidcyber ! com (wasim ! raza at pyramidcyber ! com)
Date: 2013-12-31 5:30:40
Message-ID: 20131230223040.89c0e9d15f7e53464a64bcb9e1d6526d.51da02990f.mailapi () email19 ! asia ! secureserver ! net
[Download RAW message or body]
Hi,
Using openam 11.0, OpenIG 2.1, tomcat 7-64bit, web j2ee on windows server 2008-64- \
r2. Getting Error class not found exception while executing the command to generate \
key. Command provided by Documnet
java -classpath $HOME/tomcat7/webapps/openam/WEB-INF/lib/amserver.jar:$HOME/tomcat7/webapps/openam/WEB-INF/lib/opensso-sharedlib.jar \
com.sun.identity.common.DESGenKey. Command used by me.
Changes::- a).replace amserver.jar with openam-server-auth-ui-11.0.0 , Since the \
Mentioned Jar was not found,
b).replaced opensso-sharedlib.jar with openam-shared-11.0.0 for \
the same, java -classpath \
$HOME/tomcat7/webapps/openam/WEB-INF/lib/openam-server-auth-ui-11.0.0.jar:$HOME/tomcat7/webapps/openam/WEB-INF/lib/opensso-sharedlib.jar \
com.sun.identity.common.DESGenKey it say
Error class not found exception.
What I did to generate key
1.downloaded the amserver.jar
2.copied in lid folder of openam
3.execute the same command and generated the key.
java -classpath $HOME/tomcat7/webapps/openam/WEB-INF/lib/amserver.jar;$HOME/tomcat7/webapps/openam/WEB-INF/lib/opensso-sharedlib.jar \
com.sun.identity.common.DESGenKey key XXXXXXXXXXX=
But this key didn't work with the application i deployed in tomcat containing ROOT \
as OpenIG, After that I have done as mentioned below
Run this command from the Lib folder of Openam
java -cp openam-shared-10.1.0-Xpress.jar;openam-core-10.1.0-Xpress.jar;forgerock-util-1.1.0.jar \
com.sun.identity.common.DESGenKey Key Key ==> L2vq6ljp6Zg=
And Got the Key
But still I am unable to get the access to my deployed app present in my tomcat \
root directory Please have a look into this and Response me as soon as possible
Thanks & Regard,
Wasim Raza
Pyramid Cyber Security & Forensic (P) Ltd.
--------- Original Message --------- Subject: [OpenAM] OpenAM question
From: "Steve Roggenkamp" <steve.roggenkamp at perceptivesoftware.com>
Date: 12/31/13 3:01 am
To: "Users" <openam at forgerock.org>
I'm trying to use OpenAM as an OAuth2 provider with a homegrown Ruby/Rails \
client based on Omniauth, but I'm running into problems, apparently with some \
configuration.
We can login and are presented with an OAuth2 authorization page, but then we get an \
error during callback processing where the OpenAM server reports it can't resolve its \
hostname.
I've been able to reproduce the error using the example from the OpenAM 11.0 \
Developer's Guide, http://docs.forgerock.org/en/openam/11.0.0/dev-guide/index/chap-rest.html#rest-api-auth-json.
When I execute:
$ curl --request POST -f --header "X-OpenAM-Username: demo" --header \
"X-OpenAM-Password: changeit" --header "Content-Type: application/json" --data "{}" \
http://mountain2.mw.lexmark.com:8080/openam/json/authenticate curl: (22) The \
requested URL returned error: 404 $
If I don't use the -f flag to curl, I get a line in the response:
Your requested host "mountain2.mw.lexmark.com" could not be resolved by DNS.
which should be incorrect. If I execute 'host mountain2.mw.lexmark.com' I get the \
correct IP address:
$ host mountain2.mw.lexmark.com
mountain2.mw.lexmark.com has address 10.199.65.153
$ host 10.199.65.153
153.65.199.10.in-addr.arpa domain name pointer mountain2.mw.lexmark.com.
$
I get the same line in the response during the callback processing, so I'm assuming I \
have a common problem.
I get the following entry in the amSSO.access log file for the curl request above:
"2013-12-30 15:27:52" id=demo id=demo,ou=user,dc=openam,dc=forgerock,dc=org \
5b9286b9c8abbddc01 172.18.22.253 INFO dc=openam,dc=forgerock,dc=org \
"cn=dsameuser,ou=DSAME Users,dc=openam,dc=forgerock,dc=org" SESSION-6 \
amSSO.access "Not Available" 172.18.22.253
Any help would be appreciated.
Steve
--
Steve Roggenkamp
Software Engineer
Perceptive Software | from Lexmark
(O) +1 8598254117
www.perceptivesoftware.com
_______________________________________________ OpenAM mailing list OpenAM at \
forgerock.org https://lists.forgerock.org/mailman/listinfo/openam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.forgerock.org/pipermail/openam/attachments/20131230/9d00a14a/attachment.html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic