@Bean(name="credentialsEncoders", parent=AuthRepositoryMDPoolBean.AuthRepositoryConfigBean.class, active=true) public class CredentialsEncoderBean extends Object implements RegistrarBean
| Constructor and Description |
|---|
CredentialsEncoderBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(BareJID user,
String mechanism,
String password) |
List<String[]> |
encodeForAllMechanisms(BareJID user,
String password) |
List<String> |
getSupportedMechanisms() |
void |
register(Kernel kernel)
Method called when bean is being registered allowing developer to programatically register other beans.
|
void |
unregister(Kernel kernel)
Method called while bean is being unregistered.
|
public String encode(BareJID user, String mechanism, String password) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic void register(Kernel kernel)
RegistrarBeanregister in interface RegistrarBeankernel - - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBeanunregister in interface RegistrarBeankernel - - instance from local scopeCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.