@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
NoSuchAlgorithmException
public void register(Kernel kernel)
RegistrarBean
register
in interface RegistrarBean
kernel
- - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBean
unregister
in interface RegistrarBean
kernel
- - instance from local scopeCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.