@Bean(name="credentialDecoders", parent=AuthRepositoryMDPoolBean.AuthRepositoryConfigBean.class, active=true) public class CredentialsDecoderBean extends Object implements RegistrarBean
Constructor and Description |
---|
CredentialsDecoderBean() |
Modifier and Type | Method and Description |
---|---|
Credentials.Entry |
decode(BareJID user,
String mechanism,
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 Credentials.Entry decode(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–2019 "Tigase, Inc.". All rights reserved.