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

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGlobalAttributeResolverConfiguration 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.attr.resolver.GlobalAttributeResolverConfiguration;

public class GuiGlobalAttributeResolverConfiguration {
  
  private GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration;

  private GuiGlobalAttributeResolverConfiguration(GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration) {
    this.globalAttributeResolverConfiguration = globalAttributeResolverConfiguration;
  }
  

  public static GuiGlobalAttributeResolverConfiguration convertFromGlobalAttributeResolverConfiguration(GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration) {
    return new GuiGlobalAttributeResolverConfiguration(globalAttributeResolverConfiguration);
  }
  
  public static List convertFromWsTrustedJwtConfiguration(List globalAttributeResolverConfigurations) {
    
    List guiGlobalAttributeResolverConfigs = new ArrayList();
    
    for (GlobalAttributeResolverConfiguration globalAttributeResolverConfig: globalAttributeResolverConfigurations) {
      guiGlobalAttributeResolverConfigs.add(convertFromGlobalAttributeResolverConfiguration(globalAttributeResolverConfig));
    }
    
    return guiGlobalAttributeResolverConfigs;
    
  }

  public GlobalAttributeResolverConfiguration getGlobalAttributeResolverConfiguration() {
    return globalAttributeResolverConfiguration;
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy