[JBoss JIRA] (ELY-524) RealmIdentity data caching support in the LDAP realm
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-524?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor commented on ELY-524:
--------------------------------
[~dmlloyd], I think we are ready to support these requirements. Right now, identities are already being cached but credential verification always demands a hit to the underlying LDAP store.
I think we should be able now to load all credentials before returning an identity and have them cached. A similar behavior as we have for FS realm.
> RealmIdentity data caching support in the LDAP realm
> ----------------------------------------------------
>
> Key: ELY-524
> URL: https://issues.jboss.org/browse/ELY-524
> Project: WildFly Elytron
> Issue Type: Feature Request
> Components: Realms
> Reporter: David Lloyd
> Assignee: Pedro Igor
> Priority: Critical
> Fix For: 1.1.0.Beta21
>
>
> The LDAP realm should use a caching strategy to avoid excessive database load in the presence of per-request authentication traffic.
> The realm implementation could maintain a synchronized LRU cache of one-time-initialize references to a cached DirContext or Attributes or binding or some combination of these. Because the cache is synchronized, the one-time-initialize object would be added under the lock and then the lock released before the object is populated and returned as a cached credential, allowing atomic action with a minimum of contention.
> For each cached entity, a NamingListener could be established which would invalidate (or possibly update) the cached value as the database changes.
> Alternatively, a NamingListener could be established for all identities, and each update would invalidate or update any cached values corresponding to the DN or resolved name.
> This is a complex design topic so discussion is welcome.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (WFLY-7924) Value of parameter "restart-required" for configuration attributes does not match reality for datasource and resource adapter subsystems in CLI
by Tomas Hofman (JIRA)
[ https://issues.jboss.org/browse/WFLY-7924?page=com.atlassian.jira.plugin.... ]
Tomas Hofman moved JBEAP-8411 to WFLY-7924:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7924 (was: JBEAP-8411)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
(was: JCA)
(was: User Experience)
Affects Version/s: 10.1.0.Final
(was: 7.1.0.DR7)
(was: 7.1.0.DR8)
> Value of parameter "restart-required" for configuration attributes does not match reality for datasource and resource adapter subsystems in CLI
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-7924
> URL: https://issues.jboss.org/browse/WFLY-7924
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Affects Versions: 10.1.0.Final
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> All attributes of subsystems _datasources_ and _resource-adapters_ defines in its description that there is not necessary to do {{reload}} or {{restart}} for any of them. But reality is different. If you tries to change some of such attributes you are informed that reload is necessary.
> All settable attributes are defined as
> {code}
> "restart-required" => "no-services"
> {code}
> Description of attributes should match reality of demands for {{reload}} being processed.
> {quote}
> * /subsystem=resource-adapters:read-resource-description(recursive=true)
> * /subsystem=datasources:read-resource-description(recursive=true)
> {quote}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months