KEYCLOAK-1542 - code cleanup ahead of PR
This commit is contained in:
parent
84e40cbc2c
commit
85816be967
4 changed files with 0 additions and 21 deletions
|
@ -231,12 +231,6 @@ public class DefaultJpaConnectionProviderFactory implements JpaConnectionProvide
|
|||
public String getDatabaseProduct() {
|
||||
return databaseProduct;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOk() {
|
||||
// TODO KEYCLOAK-1578 - implement operational monitoring of JPA DB connection
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -212,12 +212,6 @@ public class DefaultMongoConnectionFactoryProvider implements MongoConnectionPro
|
|||
public String driverVersion;
|
||||
public String user;
|
||||
|
||||
@Override
|
||||
public boolean isOk() {
|
||||
// TODO KEYCLOAK-1578 - implement operational monitoring of Mongo DB connection
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
|
|
@ -11,12 +11,4 @@ import java.io.Serializable;
|
|||
*/
|
||||
public interface ProviderOperationalInfo extends Serializable {
|
||||
|
||||
/**
|
||||
* Return true if provider is OK from operation point of view. It means it is able to perform necessary work.
|
||||
* It can return false for example if remote DB of JPA provider is not available, or LDAP server of LDAP based user federation provider is not available.
|
||||
*
|
||||
* @return true if provider is OK to perform his operation.
|
||||
*/
|
||||
boolean isOk();
|
||||
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ import org.keycloak.Version;
|
|||
import org.keycloak.broker.provider.IdentityProvider;
|
||||
import org.keycloak.broker.provider.IdentityProviderFactory;
|
||||
import org.keycloak.connections.jpa.JpaConnectionProvider;
|
||||
import org.keycloak.connections.mongo.DefaultMongoConnectionFactoryProvider.MongoDbInfo;
|
||||
import org.keycloak.connections.mongo.MongoConnectionProvider;
|
||||
import org.keycloak.events.EventListenerProvider;
|
||||
import org.keycloak.events.EventType;
|
||||
|
|
Loading…
Reference in a new issue