diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 2110f46fa..6b6f32472 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -350,6 +350,9 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** Set the password map to be used by plugins when access files from secure locations.*/ void setAuthenticationMap(AuthenticationMap* authenticationMap) { _authenticationMap = authenticationMap; } + /** Get the password map to be used by plugins when access files from secure locations.*/ + AuthenticationMap* getAuthenticationMap() { return _authenticationMap.get(); } + /** Get the password map to be used by plugins when access files from secure locations.*/ const AuthenticationMap* getAuthenticationMap() const { return _authenticationMap.get(); }