Authen-NZRealMe
view release on metacpan or search on metacpan
lib/Authen/NZRealMe.pm view on Meta::CPAN
=item *
generating certificate/key pairs for signing and SSL encryption
=item *
creating/editing the Service Provider metadata file
=item *
creating a bundle (zip file) containing metadata and certs for upload to the
IdP
=item *
generating AuthnRequest URLs
=item *
decoding/dumping AuthnRequest URLs
lib/Authen/NZRealMe.pm view on Meta::CPAN
You will be prompted to provide the necessary details and can re-run the
command to revise your answers.
Note: Whilst this command should give you a metadata file which passes
validation it is likely that you will need to edit the file in a text editor to
fine tune the parameters - particularly if you need more than one Assertion
Consumer Service.
You will need to provide the SP metadata file to the RealMe login service. For
MTS you can upload the SP metadata file directly using the menu option on the
MTS site. If you need to revise the file you can simply upload a new version.
For ITE and PROD you will need to provide the metadata and also the certificate
files to RealMe - who will schedule an upload to the relevant services. You
can assemble a 'bundle' of the required files with this command:
nzrealme --conf-dir /etc/nzrealme make-bundle
=head1 TESTING
Normally your application would generate an authentication request URL and
redirect the client to it, however it is also possible to generate one from the
command-line:
nzrealme --conf-dir /etc/nzrealme make-req
You can paste this URL into a browser and complete a log on. Once you have
logged on you will be redirected back to the URL for the ACS (as specified in
the SP metadata file that you uploaded). You can copy the ACS URL from your
browser and paste it into the following command to resolve the artifact passed
in the URL to an FLT:
nzrealme --conf-dir /etc/nzrealme resolve <ACS URL> <Request ID>
The ACS URL will contain special characters that may need to be quoted. You'll
also need to supply the Request ID which was output by the original C<make-req>
command.
( run in 3.125 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )