All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.phasetwo.service.auth.idp.AlwaysSelectableIdentityProviderModel Maven / Gradle / Ivy

There is a newer version: 0.79
Show newest version
//package de.sventorben.keycloak.authentication.hidpd;
package io.phasetwo.service.auth.idp;

import org.keycloak.models.IdentityProviderModel;

import java.util.HashMap;
import java.util.Map;

final class AlwaysSelectableIdentityProviderModel extends IdentityProviderModel {

    AlwaysSelectableIdentityProviderModel(IdentityProviderModel delegate) {
        super(delegate);
    }

    @Override
    public boolean isHideOnLogin() {
        return false;
    }

    @Override
    public Map getConfig() {
        Map superConfig = new HashMap<>(super.getConfig());
        superConfig.put("hideOnLoginPage", Boolean.FALSE.toString());
        return superConfig;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy