2014-09-29 20:15:33 +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 LoginProtocolSpi implements Spi {
|
|
|
|
|
2015-05-12 06:25:24 +00:00
|
|
|
@Override
|
|
|
|
public boolean isPrivate() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2014-09-29 20:15:33 +00:00
|
|
|
@Override
|
|
|
|
public String getName() {
|
|
|
|
return "login-protocol";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends Provider> getProviderClass() {
|
|
|
|
return LoginProtocol.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends ProviderFactory> getProviderFactoryClass() {
|
|
|
|
return LoginProtocolFactory.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|