You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should provide means for customizing the security measures when creating a DirContext in ContextSource. At the current time there is e.g. no efficient way of specifying an external certificate, performing proxy authentication, or starting TLS connections. Since different security mechanisms require actions at different places in the DirContext creation we should create a Strategy to be called back at different hooks in the process. This will allow for much more freedom in securing the connections.
First proposed action is to create an DirContextAuthenticationStrategy interface with a default implementation performing basic authentication (i.e. as it is now). We should then provide other implementations for alternate strategies.
The text was updated successfully, but these errors were encountered:
Added DirContextAuthenticationStrategy, refactored AbstractContextSource accordingly and provided implementations for default (SIMPLE) and TLS scenarios.
Mattias Hellborg Arthursson(Migrated from LDAP-124) said:
We should provide means for customizing the security measures when creating a
DirContext
inContextSource
. At the current time there is e.g. no efficient way of specifying an external certificate, performing proxy authentication, or starting TLS connections. Since different security mechanisms require actions at different places in theDirContext
creation we should create a Strategy to be called back at different hooks in the process. This will allow for much more freedom in securing the connections.First proposed action is to create an
DirContextAuthenticationStrategy
interface with a default implementation performing basic authentication (i.e. as it is now). We should then provide other implementations for alternate strategies.The text was updated successfully, but these errors were encountered: