gkgk
URI GateKeeper Accessor
Home > Books > NetKernel API and Services Reference > Accessor Listing > Security Extensions > gk

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:xsecurity

The gk accessor is exported by the urn:org:ten60:netkernel:ext:xsecurity module. Import this module to gain access to the accessor.

Syntax

URI
active:gk

ArgumentRulesDescription
uriMandatory the uri to apply gatekeeper rules to

Example Usage

DPML

active:gk+uri@[...URI to Gate Keep...]

NetKernel Foundation API

req=context.createSubRequest("active:gk");
req.addArgument("uri", [resource representation, aspect, or URI] );
result=context.issueSubRequest(req);

Purpose

The gk accessor is a security gatekeeper mapper. The URI provided on the uri argument is tested against a security policy Zone specified at ffcpl:/GateKeeperPolicy.xml. If the uri matches a Zone pattern it a request is made to a session validator - if this fails the request is redirected to a login service.

For detailed explanation of the gatekeeper see the guide.

© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.