Class ::nsmcp::Authenticator (public)

 ::nx::Class ::nsmcp::Authenticator[i]

Defined in /usr/local/ns/tcl/nsmcp/security.tcl

Testcases:
No testcase defined.
Source code:
    :public method authenticate {authorization server} {
        #
        # Declare the authentication contract for a request.
        #
        # The base authenticator always rejects access; credential implementations
        # override it.
        #
        # @param authorization Authorization header supplied by the caller.
        # @param server Selected NaviServer virtual-server name.
        #
        # @return No normal result; raises an HTTP 401 authentication error.
        #

        return -code error -errorcode {NSMCP HTTP 401} "Authentication required"
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: