[jboss-jira] [JBoss JIRA] (ELY-462) DirContext suppliing service to be used in LDAP realm

Jan Kalina (JIRA) issues at jboss.org
Tue Aug 2 12:01:00 EDT 2016


     [ https://issues.jboss.org/browse/ELY-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina updated ELY-462:
---------------------------
    Description: 
There will be DirContext suppling service, which will be referenced by LDAP realm:
* output of service will be ExceptionSupplier<DirContext>, but the returning DirContext will be only delegator, which will call real DirContext and instead of close() it will do returnContext()
Problematic place: DirectEvidenceVerifier
* context can be copied using (Context)ctx.lookup("")
* probably "we can take a DirContext obtain the environment settings from it and just place in the name and credential being tested and create a new contex - if that is possible we can eliminate needing our own factory interface if possible "

  was:
There will be DirContext suppling service, which will be referenced by realm:
* output of service will be ExceptionSupplier<DirContext>, but the returning DirContext will be only delegator, which will call real DirContext and instead of close() it will do returnContext()
Problematic place: DirectEvidenceVerifier
* context can be copied using (Context)ctx.lookup("")
* 



> DirContext suppliing service to be used in LDAP realm
> -----------------------------------------------------
>
>                 Key: ELY-462
>                 URL: https://issues.jboss.org/browse/ELY-462
>             Project: WildFly Elytron
>          Issue Type: Task
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>            Priority: Minor
>
> There will be DirContext suppling service, which will be referenced by LDAP realm:
> * output of service will be ExceptionSupplier<DirContext>, but the returning DirContext will be only delegator, which will call real DirContext and instead of close() it will do returnContext()
> Problematic place: DirectEvidenceVerifier
> * context can be copied using (Context)ctx.lookup("")
> * probably "we can take a DirContext obtain the environment settings from it and just place in the name and credential being tested and create a new contex - if that is possible we can eliminate needing our own factory interface if possible "



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list