edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiOidcConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ui Show documentation
Show all versions of grouper-ui Show documentation
Internet2 Groups Management User Interface
The newest version!
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.app.oidc.OidcConfiguration;
public class GuiOidcConfiguration {
private OidcConfiguration oidcConfiguration;
private GuiOidcConfiguration(OidcConfiguration oidcConfiguration) {
this.oidcConfiguration = oidcConfiguration;
}
public OidcConfiguration getOidcConfiguration() {
return oidcConfiguration;
}
public static GuiOidcConfiguration convertFromOidcConfiguration(OidcConfiguration oidcConfiguration) {
return new GuiOidcConfiguration(oidcConfiguration);
}
public static List convertFromOidcConfiguration(List oidcConfigurations) {
List guiOidcConfigs = new ArrayList();
for (OidcConfiguration oidcConfig: oidcConfigurations) {
guiOidcConfigs.add(convertFromOidcConfiguration(oidcConfig));
}
return guiOidcConfigs;
}
}