geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-3424) User can pass authorization instance to CacheFactory
Date Wed, 11 Oct 2017 12:21:00 GMT


ASF subversion and git services commented on GEODE-3424:

Commit 2aa801a3e4dbb9091b221ca7131df24c94e44f33 in geode-native's branch refs/heads/develop
from [~mhansonp]
[;h=2aa801a ]

GEODE-3424: Pass instance of AuthInitailize into CacheFactory.

- Remove old properties based library and factory loading.
- Removes old test.

> User can pass authorization instance to CacheFactory
> ----------------------------------------------------
>                 Key: GEODE-3424
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Addison
> Today, the loading of the native client authorization module is difficult, especially
with IIS. To load the auth assembly it must be located in the IIS installation directory and
this can vary from machine to machine.
> A better approach is to allow users to pass in an instance of the auth class into the
CacheFactory.  This will work well with app domains as well.
> Something like this
> {code}
> var auth = new MyAuth();
> CacheFactory.setAuthHandler(auth);
> var cache = cacheFactory.create();
> {code}

This message was sent by Atlassian JIRA

View raw message