MAN page from OpenSuSE perl-OpenXPKI-Core-0.9.1389-6.362.CS.i586.rpm
OpenXPKI::Server::Authentication
Section: User Contributed Perl Documentation (3)
Updated: 2008-09-30
Index Name
OpenXPKI::Server::Authentication
Description
This module is the top class of OpenXPKI's authenticationframework. Every authentication method is implemented in anextra class but you only have to init this class and thenyou have to call login if you need an authentication. TheXMl configuration and session handling is done via the serversglobal context.
Functions
new
is the constructor and accepts no parameters.If you call new then the completeconfiguration is loaded. This makes it possible to cashthis object and to use login when it is required in a veryfast way.
login_step
is the function which performs the authentication. Named parameters are
STACK (the authentication stack to use)and
MESSAGE (the message received by the service).It returns a triple (user, role, reply). The authenticationis not finished until user and role are defined. Multiplecalls can then be made until this state is achieved.Reply is the reply message that is to be sent to the user(i.e. a challenge, or the '
SERVICE_READY' message in casethe authentication has been successful).
See Also
OpenXPKI::Server::Authentication::AnonymousOpenXPKI::Server::Authentication::ExternalOpenXPKI::Server::Authentication::LDAPOpenXPKI::Server::Authentication::PasswordOpenXPKI::Server::Authentication::X509
Index
- Name
- Description
- Functions
- new
- login_step
- See Also
This document was created byman2html,using the manual pages.