private LDAPSecurityHandler securityHandler;
public LDAPRealmAuthenticationPolicyProviderFactory(ExtensionPointRegistry registry) {
super();
LDAPSecurityHandlerExtensionPoint securityHandlerExtensionPoint = registry.getExtensionPoint(LDAPSecurityHandlerExtensionPoint.class);
if (securityHandlerExtensionPoint.getLDAPSecurityHandlers().size() > 0) {
securityHandler = securityHandlerExtensionPoint.getLDAPSecurityHandlers().get(0);
}
}