The easiest OpenSSO install ever


I always found the Java webstart installation of OpenDS a nice thing for developers. A similar method now exists

for OpenSSO: simply click on OpenSSO JavaWebstart. It uses an the embedded version of (the not yet released) Glassfish v3 application server.


Any developer who simply need a running OpenSSO instance: this is the easiest way to get it.

Comments:

Hi Steffo,

I am having some trouble with Open sso client running on a remote machine, other than open sso server machine.

I am able to login(context.login()) but
when I try to get sso token from same context, I get the error "Error occurred while creating SSOToken".

In log file it shows that it could not connect to the socket on open sso server machine.

amSSOProvider:06/10/2009 05:32:24:510 PM EDT: Thread[Thread-0,5,main]
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
amSSOProvider:06/10/2009 05:32:24:510 PM EDT: Thread[Thread-0,5,main]
could not create SSOTOken for token ID AQIC5wM2LY4SfcyXsQcaDtAeFYTqRp9TZGnpwRXQYZBN+bU=@AAJTSQACMDE=#
com.iplanet.dpro.session.SessionException: Connection refused: connect
at com.iplanet.dpro.session.Session.refresh(Session.java:1356)
at com.iplanet.dpro.session.Session.getSession(Session.java:1016)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:158)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:304)
at com.sun.identity.authentication.AuthContext.getSSOToken(AuthContext.java:1168)
at com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:91)
at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.identity.authentication.AuthContext.runLogin(AuthContext.java:628)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:560)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:521)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:362)
at com.vmware.openssoservices.AuthServiceClient.authenticate(AuthServiceClient.java:44)
at com.vmware.userinterface.DistUserInterface.createSession(DistUserInterface.java:56)
at com.vmware.test.MultiSessionAuthTest.run(MultiSessionAuthTest.java:69)
at java.lang.Thread.run(Unknown Source)

PLLClient:06/10/2009 05:08:06:994 PM EDT: Thread[Thread-0,5,main]
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
PLLClient:06/10/2009 05:08:06:994 PM EDT: Thread[Thread-0,5,main]
Configured Protocol Handler : null
PLLClient:06/10/2009 05:08:09:510 PM EDT: Thread[Thread-0,5,main]
header in parseCookies(): {X-Powered-By=[Servlet/2.5], Set-Cookie=[amlbcookie=01; Path=/, JSESSIONID=bffd53e1c42778ce52cd2cc37323; Path=/opensso], null=[HTTP/1.1 200 OK], Date=[Wed, 10 Jun 2009 21:08:09 GMT], Server=[Sun GlassFish Enterprise Server v2.1], Content-Type=[text/html; charset=iso-8859-1], Transfer-Encoding=[chunked]}
PLLClient:06/10/2009 05:08:09:526 PM EDT: Thread[Thread-0,5,main]
cookie: amlbcookie=01; Path=/
PLLClient:06/10/2009 05:08:09:526 PM EDT: Thread[Thread-0,5,main]
cookie: JSESSIONID=bffd53e1c42778ce52cd2cc37323; Path=/opensso
PLLClient:06/10/2009 05:08:09:604 PM EDT: Thread[Thread-0,5,main]
sending cookies: JSESSIONID=bffd53e1c42778ce52cd2cc37323;amlbcookie=01
PLLClient:06/10/2009 05:08:09:635 PM EDT: Thread[Thread-0,5,main]
header in parseCookies(): {X-Powered-By=[Servlet/2.5], null=[HTTP/1.1 200 OK], Date=[Wed, 10 Jun 2009 21:08:09 GMT], Server=[Sun GlassFish Enterprise Server v2.1], Content-Type=[text/html; charset=iso-8859-1], Transfer-Encoding=[chunked]}
PLLClient:06/10/2009 05:08:09:807 PM EDT: Thread[Thread-0,5,main]
sending cookies: iPlanetDirectoryPro=AQIC5wM2LY4SfczC+zhJq1tmLAmzj0vFYu4ZQ3cNpvgfQLc=@AAJTSQACMDE=#;amlbcookie=null
PLLClient:06/10/2009 05:08:10:791 PM EDT: Thread[Thread-0,5,main]
PLLClient send exception:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:191)
at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:112)
at com.iplanet.dpro.session.Session.sendPLLRequest(Session.java:1078)
at com.iplanet.dpro.session.Session.getSessionResponseWithoutRetry(Session.java:1465)
at com.iplanet.dpro.session.Session.getSessionResponse(Session.java:1526)
at com.iplanet.dpro.session.Session.doRefresh(Session.java:1373)
at com.iplanet.dpro.session.Session.access$300(Session.java:100)
at com.iplanet.dpro.session.Session$3.run(Session.java:1345)
at com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:82)
at com.iplanet.dpro.session.Session.refresh(Session.java:1342)
at com.iplanet.dpro.session.Session.getSession(Session.java:1016)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:158)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:304)
at com.sun.identity.authentication.AuthContext.getSSOToken(AuthContext.java:1168)
at com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:91)
at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.identity.authentication.AuthContext.runLogin(AuthContext.java:628)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:560)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:521)
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:362)
at com.vmware.openssoservices.AuthServiceClient.authenticate(AuthServiceClient.java:44)
at com.vmware.userinterface.DistUserInterface.createSession(DistUserInterface.java:56)
at com.vmware.test.MultiSessionAuthTest.run(MultiSessionAuthTest.java:69)
at java.lang.Thread.run(Unknown Source)

Posted by Shobhit Agarwal on June 10, 2009 at 05:17 PM CEST #

Can I have some help with above problem..

Shobhit

Posted by Shobhit agarwal on June 10, 2009 at 05:19 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

steffo

Search

Top Tags
Archives
« April 2014
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