33 lines
691 B
Java
33 lines
691 B
Java
|
package org.keycloak.messages;
|
||
|
|
||
|
import org.keycloak.provider.Provider;
|
||
|
import org.keycloak.provider.ProviderFactory;
|
||
|
import org.keycloak.provider.Spi;
|
||
|
|
||
|
/**
|
||
|
* @author <a href="mailto:leonardo.zanivan@gmail.com">Leonardo Zanivan</a>
|
||
|
*/
|
||
|
public class MessagesSpi implements Spi {
|
||
|
|
||
|
@Override
|
||
|
public boolean isPrivate() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getName() {
|
||
|
return "messages";
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Class<? extends Provider> getProviderClass() {
|
||
|
return MessagesProvider.class;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Class<? extends ProviderFactory> getProviderFactoryClass() {
|
||
|
return MessagesProviderFactory.class;
|
||
|
}
|
||
|
|
||
|
}
|