Package tigase.db

Interface AuthRepository

All Superinterfaces:
Repository
All Known Implementing Classes:
AbstractAuthRepositoryWithCredentials, AuthRepositoryImpl, AuthRepositoryMDImpl, AuthRepositoryMDPoolBean, AuthRepositoryPool, DrupalWPAuth, DummyRepository, JDBCRepository, LdapAuthProvider, TigaseAuth, TigaseCustomAuth, TigaseSPAuth, XMLRepository

public interface AuthRepository extends Repository
Interface AuthRepository defines a proxy bridge between user authentication data storage and the Tigase server authentication logic. Important thing about the authentication repository is that it not only stores login credentials but also performs actual user authentication. This is because available authentication mechanisms depend on the way data are stored in the repository (database).
Created: Sun Nov 5 21:15:46 2006
Author:
Artur Hefczyc
  • Field Details

    • DATA_KEY

      static final String DATA_KEY
      Property key name for otherAuth method call. It is used to provide an extra authentication data by the client to the authentication logic. Please note the RESULT_KEY property key is used to provide authentication data from the server to the client. This property is used to provide authentication data from the client to the server.
      See Also:
    • DIGEST_ID_KEY

      static final String DIGEST_ID_KEY
      See Also:
    • DIGEST_KEY

      static final String DIGEST_KEY
      See Also:
    • MACHANISM_KEY

      static final String MACHANISM_KEY
      Property key name for otherAuth method call. It is used to provide desired authentication mechanism to the authentication logic.
      See Also:
    • PASSWORD_KEY

      static final String PASSWORD_KEY
      See Also:
    • PROTOCOL_KEY

      static final String PROTOCOL_KEY
      Property key name for otherAuth method call. It is used to provide desired authentication protocol to the authentication logic.
      See Also:
    • PROTOCOL_VAL_NONSASL

      static final String PROTOCOL_VAL_NONSASL
      Property value for otherAuth method call. It is used to provide desired authentication NON-SASL protocol to the authentication logic.
      See Also:
    • PROTOCOL_VAL_SASL

      static final String PROTOCOL_VAL_SASL
      Property value for otherAuth method call. It is used to provide desired authentication SASL protocol to the authentication logic.
      See Also:
    • REALM_KEY

      static final String REALM_KEY
      Property key name for otherAuth method call. It is used to provide authentication realm to the authentication logic. In most cases, the realm is just a domain name.
      See Also:
    • RESULT_KEY

      static final String RESULT_KEY
      Property key name for otherAuth method call. It is used to provide authentication handshaking data during login process. Some authentication mechanisms require exchanging requests between the client and the server. This property key points back to the data which need to be sent back to the client.
      See Also:
    • SERVER_NAME_KEY

      static final String SERVER_NAME_KEY
      Property key name for otherAuth method call. It is used to provide authentication domain to the authentication logic. It is highly recommended that this property is always set, even if the authentication protocol/mechanism does not need it strictly.
      See Also:
    • USER_ID_KEY

      static final String USER_ID_KEY
      Property key name for otherAuth method call. It is used to provide a user ID on successful user login. Please note, the key points to the object of BareJID type.
      See Also:
  • Method Details