2015-05-13 14:13:49 +00:00
|
|
|
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
|
2015-06-04 13:59:28 +00:00
|
|
|
public boolean isInternal() {
|
2015-05-13 14:13:49 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|