Class AbstractLDAPProcessor<T extends com.unboundid.ldap.protocol.ProtocolOp>

java.lang.Object
tigase.ldap.processors.AbstractLDAPProcessor<T>
Type Parameters:
T - Class of the request that is supported
All Implemented Interfaces:
LDAPProcessor<T>
Direct Known Subclasses:
BindRequestProcessor, SearchRequestProcessor

public abstract class AbstractLDAPProcessor<T extends com.unboundid.ldap.protocol.ProtocolOp> extends Object implements LDAPProcessor<T>
Class contains helper methods often used by LDAPProcessor implementations.
  • Constructor Details

    • AbstractLDAPProcessor

      public AbstractLDAPProcessor()
  • Method Details

    • getAuthRepository

      protected tigase.db.AuthRepository getAuthRepository()
    • getUserRepository

      protected tigase.db.UserRepository getUserRepository()
    • checkAuthorization

      protected void checkAuthorization(LDAPSession session) throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException
    • canAccessToUserData

      protected boolean canAccessToUserData(LDAPSession session, tigase.xmpp.jid.BareJID user)
    • isAdmin

      protected boolean isAdmin(tigase.xmpp.jid.BareJID jid)