The Security Manager |
This interface enables the programmer to configure security needs for the application. Your application needs to consider how a user of the library is authenticated, and how it is going to map user identifiers to authorization domains. Implementing this interface is your way to inform the XSLT library of these decisions.
This is the only concrete security manager provided by the library. If it is not suitable for your needs, then you must write your own, and supply it to the creation routine of your XM_XSLT_OUTPUT_URI_RESOLVER.
This implementation unconditionally allows all requests to read from a resource. For requests to write to a resource, it examines the state of the is_highly_secure attribute. If this is True, then it only allows writing to URIs of the stdout and string schemes.
Copyright © 2005, Colin Adams and others mailto:colin@colina.demon.co.uk http://www.gobosoft.com Last Updated: Tuesday, October 11th, 2005 |