return the processed context (as it can be a proxy)
This commit is contained in:
@@ -139,8 +139,8 @@ public abstract class AbstractContextSource implements BaseLdapPathContextSource
|
||||
DirContext ctx = createContext(env);
|
||||
|
||||
try {
|
||||
authenticationStrategy.processContextAfterCreation(ctx, principal, credentials);
|
||||
return ctx;
|
||||
DirContext processedDirContext = authenticationStrategy.processContextAfterCreation(ctx, principal, credentials);
|
||||
return processedDirContext;
|
||||
}
|
||||
catch (NamingException e) {
|
||||
closeContext(ctx);
|
||||
|
||||
Reference in New Issue
Block a user