You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-dev@incubator.apache.org by Ben Dewey <Be...@26ny.com> on 2009/09/22 19:47:11 UTC

PHP WSAS Status

Chintana,

What's the current status of the PHP/WSAS stack?  I was running through the interop testing of the latest and couldn't get it to work.

-Ben Dewey

Re: PHP WSAS Status

Posted by Chintana Wilamuna <ch...@gmail.com>.
On Wed, Sep 23, 2009 at 8:22 PM, Ben Dewey <Be...@26ny.com> wrote:

> Just to clarify, Have you implemented anything for Claims Based authentication in PHP or WSAS?  We'd like to tag or branch the certificate based version of StockTrader before committing any CBS code.

There are no changes done to the PHP client yet. I added the
getProfileIdFromStsIdentifier operation to WSAS business service. I
tested with the .Net client without making any changes to the PHP
client.

> Additionally, what are people's thoughts on testing CBS?  Should be test directly in the trunk or via Patches?

I think it's easier if things are version controlled. For me it's
kinda painful adding patches and then keeping track. But I'm ok with
whichever is comfortable to others.

Bye,

    -Chintana

-- 
http://engwar.com/

RE: PHP WSAS Status

Posted by Ben Dewey <Be...@26ny.com>.
Chintana,

Just to clarify, Have you implemented anything for Claims Based authentication in PHP or WSAS?  We'd like to tag or branch the certificate based version of StockTrader before committing any CBS code.  

Additionally, what are people's thoughts on testing CBS?  Should be test directly in the trunk or via Patches?

-Ben Dewey

-----Original Message-----
From: Chintana Wilamuna [mailto:chintanaw@gmail.com] 
Sent: Wednesday, September 23, 2009 1:04 AM
To: stonehenge-dev@incubator.apache.org
Subject: Re: PHP WSAS Status

On Wed, Sep 23, 2009 at 1:17 AM, Ben Dewey <Be...@26ny.com> wrote:

> What's the current status of the PHP/WSAS stack?  I was running through the interop testing of the latest and couldn't get it to work.

Ben,

The getProfileIdFromStsIdentifier operation is implemented in WSAS
business service. It looks like by default .Net passive STS is
returning privatepersonalidentifier as the default SAML attribute. I'm
in the process of implementing that in the WSO2 Identity Server. You
need to write an extension so that it'll return that by default
overriding the default attribute send by the Identity Server. Right
now, the business service talks to the MSSQL database for
authentication, in the process of changing it to talk to the active
STS and make the authentication happening.

After changing the passive STS endpoint in the .Net trader client, I
was able to get it authenticated and logged in to the application.

As for the PHP configuration service, IIRC, I did test it with the
.Net trader client and got it to work before committing.

What's the scenario you ran into trouble with?

Bye,

    -Chintana

-- 
http://engwar.com/

RE: PHP WSAS Status

Posted by Ben Dewey <Be...@26ny.com>.
Here is my Apache Log:

[Mon Aug 24 23:02:10 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Aug 24 23:02:10 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Aug 24 23:02:10 2009] [notice] Parent: Created child process 4640
[Mon Aug 24 23:02:11 2009] [notice] Child 4640: Child process is running
[Mon Aug 24 23:02:11 2009] [notice] Child 4640: Acquired the start mutex.
[Mon Aug 24 23:02:11 2009] [notice] Child 4640: Starting 64 worker threads.
[Mon Aug 24 23:02:11 2009] [notice] Child 4640: Starting thread to listen on port 8080.
[Mon Aug 24 23:04:30 2009] [error] [client 127.0.0.1] File does not exist: D:/wamp/www/config_service
[Mon Aug 24 23:12:41 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 24 23:12:41 2009] [notice] Child 4640: Exit event signaled. Child process is ending.
[Mon Aug 24 23:12:42 2009] [notice] Child 4640: Released the start mutex
[Mon Aug 24 23:12:44 2009] [notice] Child 4640: All worker threads have exited.
[Mon Aug 24 23:12:44 2009] [notice] Child 4640: Child process is exiting
[Mon Aug 24 23:12:46 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 24 23:12:53 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Aug 24 23:12:53 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Aug 24 23:12:53 2009] [notice] Parent: Created child process 5088
[Mon Aug 24 23:12:53 2009] [notice] Child 5088: Child process is running
[Mon Aug 24 23:12:53 2009] [notice] Child 5088: Acquired the start mutex.
[Mon Aug 24 23:12:53 2009] [notice] Child 5088: Starting 64 worker threads.
[Mon Aug 24 23:12:53 2009] [notice] Child 5088: Starting thread to listen on port 8080.
[Mon Aug 24 23:17:23 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 24 23:17:23 2009] [notice] Child 5088: Exit event signaled. Child process is ending.
[Mon Aug 24 23:17:24 2009] [notice] Child 5088: Released the start mutex
[Mon Aug 24 23:17:25 2009] [notice] Child 5088: All worker threads have exited.
[Mon Aug 24 23:17:25 2009] [notice] Child 5088: Child process is exiting
[Mon Aug 24 23:17:27 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 24 23:17:34 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Aug 24 23:17:34 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Aug 24 23:17:34 2009] [notice] Parent: Created child process 2820
[Mon Aug 24 23:17:35 2009] [notice] Child 2820: Child process is running
[Mon Aug 24 23:17:35 2009] [notice] Child 2820: Acquired the start mutex.
[Mon Aug 24 23:17:35 2009] [notice] Child 2820: Starting 64 worker threads.
[Mon Aug 24 23:17:35 2009] [notice] Child 2820: Starting thread to listen on port 8080.
[Mon Aug 24 23:18:11 2009] [error] [client 127.0.0.1] File does not exist: D:/wamp/www/config_service
[Mon Aug 24 23:21:16 2009] [error] [client 127.0.0.1] File does not exist: D:/wamp/www/favicon.ico
[Mon Aug 24 23:21:26 2009] [error] [client 127.0.0.1] File does not exist: D:/wamp/www/favicon.ico
[Mon Aug 24 23:23:07 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 24 23:23:07 2009] [notice] Child 2820: Exit event signaled. Child process is ending.
[Mon Aug 24 23:23:08 2009] [notice] Child 2820: Released the start mutex
[Mon Aug 24 23:23:09 2009] [notice] Child 2820: All worker threads have exited.
[Mon Aug 24 23:23:09 2009] [notice] Child 2820: Child process is exiting
[Mon Aug 24 23:23:11 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 24 23:23:18 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Aug 24 23:23:18 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Aug 24 23:23:18 2009] [notice] Parent: Created child process 4760
[Mon Aug 24 23:23:18 2009] [notice] Child 4760: Child process is running
[Mon Aug 24 23:23:18 2009] [notice] Child 4760: Acquired the start mutex.
[Mon Aug 24 23:23:18 2009] [notice] Child 4760: Starting 64 worker threads.
[Mon Aug 24 23:23:18 2009] [notice] Child 4760: Starting thread to listen on port 8080.

-----Original Message-----
From: Chintana Wilamuna [mailto:chintanaw@gmail.com] 
Sent: Thursday, September 24, 2009 8:06 AM
To: stonehenge-dev@incubator.apache.org
Subject: Re: PHP WSAS Status

On Wed, Sep 23, 2009 at 8:44 PM, Ben Dewey <Be...@26ny.com> wrote:

> With the latest PHP stack, I can login and view with the PHP_BS, but the Config page is coming up blank, and I'm unable to see get a confirmation when placing an order with the PHP_OPS.
>
> I'm not getting any errors or warnings in the wsf_client.log or wsf_server.log.  What debug info do you need?

Could you please attach the Apache error log file?

Bye,

    -Chintana

-- 
http://engwar.com/

Re: PHP WSAS Status

Posted by Chintana Wilamuna <ch...@gmail.com>.
On Wed, Sep 23, 2009 at 8:44 PM, Ben Dewey <Be...@26ny.com> wrote:

> With the latest PHP stack, I can login and view with the PHP_BS, but the Config page is coming up blank, and I'm unable to see get a confirmation when placing an order with the PHP_OPS.
>
> I'm not getting any errors or warnings in the wsf_client.log or wsf_server.log.  What debug info do you need?

Could you please attach the Apache error log file?

Bye,

    -Chintana

-- 
http://engwar.com/

RE: PHP WSAS Status

Posted by Ben Dewey <Be...@26ny.com>.
Chintana,

With the latest PHP stack, I can login and view with the PHP_BS, but the Config page is coming up blank, and I'm unable to see get a confirmation when placing an order with the PHP_OPS.

I'm not getting any errors or warnings in the wsf_client.log or wsf_server.log.  What debug info do you need?

-Ben

-----Original Message-----
From: Chintana Wilamuna [mailto:chintanaw@gmail.com] 
Sent: Wednesday, September 23, 2009 1:04 AM
To: stonehenge-dev@incubator.apache.org
Subject: Re: PHP WSAS Status

On Wed, Sep 23, 2009 at 1:17 AM, Ben Dewey <Be...@26ny.com> wrote:

> What's the current status of the PHP/WSAS stack?  I was running through the interop testing of the latest and couldn't get it to work.

Ben,

The getProfileIdFromStsIdentifier operation is implemented in WSAS
business service. It looks like by default .Net passive STS is
returning privatepersonalidentifier as the default SAML attribute. I'm
in the process of implementing that in the WSO2 Identity Server. You
need to write an extension so that it'll return that by default
overriding the default attribute send by the Identity Server. Right
now, the business service talks to the MSSQL database for
authentication, in the process of changing it to talk to the active
STS and make the authentication happening.

After changing the passive STS endpoint in the .Net trader client, I
was able to get it authenticated and logged in to the application.

As for the PHP configuration service, IIRC, I did test it with the
.Net trader client and got it to work before committing.

What's the scenario you ran into trouble with?

Bye,

    -Chintana

-- 
http://engwar.com/

Re: PHP WSAS Status

Posted by Chintana Wilamuna <ch...@gmail.com>.
On Wed, Sep 23, 2009 at 1:17 AM, Ben Dewey <Be...@26ny.com> wrote:

> What's the current status of the PHP/WSAS stack?  I was running through the interop testing of the latest and couldn't get it to work.

Ben,

The getProfileIdFromStsIdentifier operation is implemented in WSAS
business service. It looks like by default .Net passive STS is
returning privatepersonalidentifier as the default SAML attribute. I'm
in the process of implementing that in the WSO2 Identity Server. You
need to write an extension so that it'll return that by default
overriding the default attribute send by the Identity Server. Right
now, the business service talks to the MSSQL database for
authentication, in the process of changing it to talk to the active
STS and make the authentication happening.

After changing the passive STS endpoint in the .Net trader client, I
was able to get it authenticated and logged in to the application.

As for the PHP configuration service, IIRC, I did test it with the
.Net trader client and got it to work before committing.

What's the scenario you ran into trouble with?

Bye,

    -Chintana

-- 
http://engwar.com/