org.xwiki.ldap.internal
Class LDAPScriptService

java.lang.Object
  extended by org.xwiki.ldap.internal.LDAPScriptService
All Implemented Interfaces:
ScriptService

@Component(value="ldap")
public class LDAPScriptService
extends Object
implements ScriptService

Script service to expose LDAP utilities to script and templating languages.


Constructor Summary
LDAPScriptService()
           
 
Method Summary
 boolean isXWikiLDAPAuthenticator()
           
 void resetGroupCache()
          Force to empty the cache containing LDAP groups.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPScriptService

public LDAPScriptService()
Method Detail

isXWikiLDAPAuthenticator

public boolean isXWikiLDAPAuthenticator()
Returns:
true if the currently configured authentication class extends or is an instance of XWikiLDAPAuthServiceImpl. Returns false otherwise.

resetGroupCache

public void resetGroupCache()
Force to empty the cache containing LDAP groups.

Since:
4.1M1