You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Addison (JIRA)" <ji...@apache.org> on 2017/08/10 17:05:00 UTC

[jira] [Updated] (GEODE-3424) User can pass authorization instance to CacheFactory

     [ https://issues.apache.org/jira/browse/GEODE-3424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Addison updated GEODE-3424:
---------------------------
    Description: 
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}
AuthInstance a = AuthModule.Create()
CacheFactory cacheFactory = CacheFactory.CreateCacheFactory(ref AuthInstance a);
{code]

  was:
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
```
AuthInstance a = AuthModule.Create()
CacheFactory cacheFactory = CacheFactory.CreateCacheFactory(ref AuthInstance a);
```


> User can pass authorization instance to CacheFactory
> ----------------------------------------------------
>
>                 Key: GEODE-3424
>                 URL: https://issues.apache.org/jira/browse/GEODE-3424
>             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}
> AuthInstance a = AuthModule.Create()
> CacheFactory cacheFactory = CacheFactory.CreateCacheFactory(ref AuthInstance a);
> {code]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)