2015-02-20 14:22:49 +00:00
|
|
|
package org.keycloak.protocol;
|
|
|
|
|
|
|
|
import org.keycloak.provider.Provider;
|
|
|
|
import org.keycloak.provider.ProviderFactory;
|
|
|
|
import org.keycloak.provider.Spi;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a>
|
|
|
|
*/
|
|
|
|
public class ProtocolMapperSpi implements Spi {
|
|
|
|
|
2015-05-12 06:25:24 +00:00
|
|
|
@Override
|
|
|
|
public boolean isPrivate() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2015-02-20 14:22:49 +00:00
|
|
|
@Override
|
|
|
|
public String getName() {
|
|
|
|
return "protocol-mapper";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends Provider> getProviderClass() {
|
|
|
|
return ProtocolMapper.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends ProviderFactory> getProviderFactoryClass() {
|
|
|
|
return ProtocolMapper.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|