Package tigase.auth

Class CredentialsEncoderBean

java.lang.Object
tigase.auth.CredentialsEncoderBean
All Implemented Interfaces:
RegistrarBean

@Bean(name="credentialEncoders", parent=AuthRepositoryConfigBean.class, active=true) public class CredentialsEncoderBean extends Object implements RegistrarBean
  • Constructor Details

    • CredentialsEncoderBean

      public CredentialsEncoderBean()
  • Method Details

    • getSupportedMechanisms

      public List<String> getSupportedMechanisms()
    • encode

      public String encode(tigase.xmpp.jid.BareJID user, String mechanism, String password) throws NoSuchAlgorithmException
      Throws:
      NoSuchAlgorithmException
    • encodeForAllMechanisms

      public List<String[]> encodeForAllMechanisms(tigase.xmpp.jid.BareJID user, String password)
    • register

      public void register(Kernel kernel)
      Description copied from interface: RegistrarBean
      Method called when bean is being registered allowing developer to programatically register other beans.
      Specified by:
      register in interface RegistrarBean
      Parameters:
      kernel - - instance from local scope
    • unregister

      public void unregister(Kernel kernel)
      Description copied from interface: RegistrarBean
      Method called while bean is being unregistered.
      Specified by:
      unregister in interface RegistrarBean
      Parameters:
      kernel - - instance from local scope