WSO2::WSF::WSPolicy - Create a WSPolicy object


WSO2-WSF-Perl documentation  | view source Contained in the WSO2-WSF-Perl distribution.

Index


NAME

Top

WSO2::WSF::WSPolicy - Create a WSPolicy object

SYNOPSYS

Top

  my $policy = new WSO2::WSF::WSPolicy( { WSPOLICY_OPTIONS } );

DESCRIPTION

Top

SEC_TOKEN_OPTIONS

Top

user

Holds the username.

certificate

User's certificate to be used for signing. Load the entire certificate into a string and give that as a value. You can use the usual slurp mode to do this.

my CERT, "< my_certificate.cert"; undef $/; my $cert = <CERT>;

password

User's password used for UsernameToken

passwordType

Password type used in UsernameToken. Valid vaules are 'PlainText' and 'Digest'.

privateKey

User's private key, loaded from the privake key file, same as loading the certificate.

receiverCertificate

Receiver's certificate to be used for encryption, same as loading the certificate.

ttl

The time period within which the message would be valid in seconds.

SEE ALSO

Top

Look at WSO2::WSF::WSClient to see how to pass a WSMessage and consume an existing Web service.

Mailing list, bug tracker, svn info can be found on the project web site at http://wso2.org/projects/wsf/perl

AUTHOR

Top

WSO2 WSF/Perl Team

COPYRIGHT AND LICENSE

Top


WSO2-WSF-Perl documentation  | view source Contained in the WSO2-WSF-Perl distribution.