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

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiOidcConfiguration Maven / Gradle / Ivy

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;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy