[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [wsf-c-dev] [jira] Created: (WSFPHP-388) passwordCallback should
From:       "Dolf Starreveld (JIRA)" <jira () wso2 ! org>
Date:       2009-05-20 1:28:25
Message-ID: 37546836.22801242782905125.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]

passwordCallback should support specifying "true" PHP callbacks
---------------------------------------------------------------

                 Key: WSFPHP-388
                 URL: https://wso2.org/jira/browse/WSFPHP-388
             Project: WSO2 WSF/PHP
          Issue Type: New Feature
          Components: WS-Security Support
    Affects Versions: 2.0.0
         Environment: All
            Reporter: Dolf Starreveld


The current implementation expects the "passwordCallback" option to contain a string. \
Anything else is not accepted. Consequently, the actual callback function can only be \
a (global) function. If one is deploying more object oriented code and writes a \
service implementation in a class, it would be very nice to allow the password \
callback to be a method inside that class (be it static or member function). In the \
normal PHP scenario that would be specified as: array('passwordCallback' => \
array($object, 'passwordCallbackMethod')).

Supporting this will require two things:
1) Modify the code the inspects the initial options to recognize the array form \
specification 2) Modify the wsf_password_callback_function to handle this case (from \
the passed in callback args).

Similar arguments apply for all callbacks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic